Key points
- Read the message before trying again: incorrect password, too many attempts, or 403 error do not have the same solution.
- In the Security module, the lockout lasts 15 minutes and extends up to 24 hours if failures continue, with an unblock link sent by email.
- If the link does not arrive, renaming the plugin folder via SFTP restores your access, and you must put it back in place right after.
- Email sending configured and tested in the Mail module prevents most long-lasting lockouts.
Unable to connect to WordPress: read the message first
When it is impossible to connect to WordPress, the first thing to do is read what the page displays, without trying again right away. Each new failed attempt can prolong the lockout. The message almost always tells you which door is closed.
An incorrect username or password message means WordPress is responding normally: the account exists, but the combination entered is wrong. A message about too many attempts or temporarily denied access comes from a login limit set by a security plugin. A blank page with a 403 error, even before the form, rather indicates that a firewall rule has rejected the request.
These three cases are not resolved in the same way. The rest of this article mainly deals with the second one, which comes up the most on WordPress.org forums: lockout after login failures, whether the plugin is Wordfence, another one, or the Security module from nexya.
- Incorrect username or password: use “Lost your password?”.
- Too many attempts, access blocked: wait or use the unblock link.
- 403 error before the form: check the firewall.
How the Security module limits login failures
The nexya Security module counts failed logins. Beyond the limit, the connection is blocked for 15 minutes. If failures continue, the lockout duration increases, up to 24 hours.
This progressive escalation has a simple reason. A person who makes a mistake two or three times waits a quarter of an hour and gets access back. A bot trying thousands of passwords faces increasingly long lockouts and ends up wasting its time.
So you are not locked out for an entire day, an unblock link is sent by email. This is the shortest path to regain control, provided the site’s emails are actually sending properly. This limit is part of the free version, like the rest of the Security module.
A 15-minute lockout barely inconveniences a person. A lockout extending up to 24 hours discourages a bot.
The unblock link does not arrive
If the unblock email does not arrive, check your spam folder first. Many WordPress sites still send their emails using the server’s mail function, without authentication, and email providers often classify them as spam or reject them.
The Mail module fixes this beforehand: it sends via SMTP, an API provider, or a Gmail or Microsoft 365 account connected with OAuth. It keeps a log of every message, along with the reason given by the server when sending fails, and offers a test message.
The log won’t help you if you are already locked out. It is used to check, once access is recovered, why the link didn’t send, and to fix the sending before the next lockout. If no one else has access to the admin area, two options remain: wait for the lockout to end, or go through the server.
Regaining access when you are locked out, step by step
-
1
Read the message and stop trying
Note what the page displays: incorrect password, too many attempts, or 403 error. Do not try again immediately, each failure may prolong the lockout.
-
2
Use the unblock link or wait
Open the unblock link received by email, also checking your spam folder. If there is no email, wait for the lockout to end: 15 minutes the first time, up to 24 hours if the failures continued.
-
3
Deactivate the plugin via the server
If you cannot wait, rename the plugin folder in wp-content/plugins via SFTP or your host's file manager. Log in, put the original name back, and reactivate the plugin right away.
-
4
Check why the email was not sent
Once in the admin area, open the Mail module log: it shows whether the link was sent, and if not, the reason given by the server. Fix the sending method and send a test message.
-
5
Prepare for the next incident
Choose an authenticated sending method (SMTP, API, Gmail or Microsoft 365 with OAuth) and keep a second administrator account with another email address.
No access at all: regaining control via the server
When the link doesn’t come and you cannot wait, the classic WordPress method works with any security plugin. Connect to the server via SFTP or your host’s file manager, open the wp-content/plugins folder, and rename the plugin’s folder, for example by adding -off at the end.
WordPress no longer finds the plugin and deactivates it. The login limit drops with it, and you can log in. Then put the folder’s original name back, and reactivate the plugin from the plugins list. As long as it remains deactivated, the site lacks all its protection, so do not leave it in this state.
With nexya, renaming the folder disables all modules at once, not just Security. Once back in the admin area, you can also turn off just one module from the hub. A turned-off module records nothing: none of its hooks run on the site.

A legitimate user can no longer log in
When a collaborator or client finds themselves blocked, the cause is rarely an attack. Most of the time, the browser or password manager fills in an old password, or a username that no longer exists, and the person clicks multiple times without seeing the error.
Ask them to stop trying, wait for the 15-minute lockout to end, and then use “Lost your password?” rather than guessing. This link also goes through email: if the site’s emails are not sending properly, the person will receive neither the reset link nor the unblock link. Checking the Mail module log will tell you if the message went out, and if not, why.
If the user sees a 403 error instead of a lockout message, the problem lies elsewhere. The lightweight firewall of the Security module rejects requests that carry an attack before WordPress even starts. An ordinary connection does not carry any, but a browser extension or a corporate network that modifies requests can make it look like one. Have them try from another browser or another connection to decide.
Avoiding the next lockout
Most prolonged lockouts stem from an email that failed to send. The most useful setting is therefore done before the problem arises, not during it.
A few simple habits are enough to keep the connection limit as a protection, rather than a trap for yourself.
- Configure sending in the Mail module and send the test message.
- Keep at least two administrator accounts, with two different email addresses.
- Use a long and unique password, properly saved in your password manager.
- Note where the SFTP access or the host’s file manager is located.
- With nexya Pro, add two-factor authentication: a guessed password is no longer enough.
FAQ
How long does the lockout last after too many login attempts?
With the nexya Security module, the first lockout lasts 15 minutes. If failures continue, the duration increases up to 24 hours. An unblock link is sent by email so you don't have to wait.
I didn't receive the unblock email, what should I do?
Check your spam folder. If the message is not there, wait for the lockout to end or rename the plugin folder via SFTP to deactivate it. Once logged in, check the Mail module log to see why the sending failed.
Does renaming the plugin folder cause settings to be lost?
Renaming the folder deactivates the plugin without deleting its settings, which remain in the database. Put the original name back, reactivate the plugin, and the site regains its protection.
Is the connection limit part of the free version?
Yes. The login failure limit is part of the free Security module. Two-factor authentication, however, is reserved for nexya Pro.
Why does a user see a 403 error instead of the login form?
A 403 error before the form usually comes from a firewall rule, not the connection limit. Try from another browser or network to see if a browser extension or network is modifying the request.
The modules in this post
Try nexya Pro free for 7 days
Every module, forms, newsletters and the page cache, on your site. No commitment.