Wordfence is a popular security plugin that you can use to protect your WordPress site from a wide range of cyberattacks. One of which is brute force attacks. A brute force attack is a cyberattack type where an attacker randomly enters many passwords with the purpose of eventually guessing the correct one. While this type of protection is particularly great to prevent unauthorized parties to get into your website, it can also be troublesome sometimes. Especially if you often use a weak password on your WordPress site as Wordfence will block a login with a weak password.
What to do if your login is blocked by Wordfence?
When Wordfence blocks your login, you will be asked to reset your password (you will be provided a link to do so). But sometimes, the link doesn’t work. No worries, you are not losing your site. You can still login to your site by temporarily disable the Wordfrence plugin.
How to disable the Wordfence plugin while you are unable to login to the WordPress dashboard? You can do so from the control panel of your web hosting.
So, first off, login to your web hosting and open the control panel. Open file manager and go to the root directory of your WordPress (public_html in most cases). Next, go to the plugins folder under the wp-content folder (wp-content/plugins). Find the wordfence folder and rename it with something like wordfence-disable.
Now try to re-login with your username and password and you should face no issue now.
Once successfully logged in to the WordPress dashboard, you can re-enable the Wordfence plugin to have your site protected. To do so, you can go to the plugin manager (Plugins -> Installed Plugins) or from the file manager of your web hosting by reverting back its original directory name. Before doing so, make sure you have changed your password with a stronger one so that Wordfence won’t block it anymore.
To change your current password, go to Users -> Your Profile. Scroll down to the Account Management section and click the Generate Password button. Enter your password and click the Update Profile button.