Sometimes a security plugin can accidentally prevent you from logging into your WordPress site. If you suspect this might be the problem, you can manually deactivate the plugin using FTP.
Quick Explanation : FTP is a program disable-security-plugins that helps you upload and download files to your website (like a bridge between your computer and the website).
Related Post: If you are not sure which plugin is preventing you from logging into your site, I recommend deactivating all plugins. For details, see this tutorial on how to deactivate all plugins when you can’t access the wp admin .
First, you’ll need to connect your site to an FTP client, such as FileZilla. If you’re not sure how to do this, check out this tutorial on how to use FTP to upload WordPress files .
Once you have done this, navigate to the /wp-content folder " plugins
.
This will open a new folder with a list of all the plugins downloaded to your site.
From there, you’ll need to locate the folder for the security plugin you want to disable. For example, if you’re using Wordfence, look for a file with that name.
Once you find it, right-click on the plugin folder and select the “Rename” option. Then, change the folder name to wordfence-disabled.
This will deactivate the plugin immediately since WordPress won’t be able to find it. You can now try logging into your site to see if the issue has been fixed.
Tip 5. Create a new administrator user via phpMyAdmin disable-security-plugins
Another way to bypass the login is to investor database create a new admin user directly from the database using phpMyAdmin.
Open your hosting company’s control panel, go to the “Advanced” tab and select the “PHPMyAdmin” section.
Once it opens, you will need to click on the table wp_users
. This will take you to a new screen where all of your site’s users will be listed in one row.
Here, click on the “Insert” tab at the top to add the information for a new admin user.
For step-by-step instructions, see this guide on how to add an admin user to your WordPress database .
Once the process is complete, you can try logging into WordPress with your new admin credentials.
Tip 6. Restore your website from backup disable-security-plugins
If you backed up your site before the sentences paragraphs and sections it was blocked, you can restore it to regain access.
Most backup plugins allow you to restore your site by uploading a backup file or using an external restore feature.
For example, if you are using a backup plugin like Duplicator , you can upload the backup package and installer file to your server to restore your website with just a few clicks.
With the paid version of the Duplicator plugin, you also get access to one-click backup restores.
This allows you to restore your backup almost immediately.
However, if you backed up your site manually, you’ll need to restore it using the database and files. You can either create a new database and import the backup into it, or you can empty the existing database and import the backup.
These methods are a bit complex and therefore I do not recommend them for beginners.
Once restored, you can log in to your site normally and reconfigure settings if necessary.
For more information, see this beginner’s guide on how to restore WordPress from a backup .
The fastest and easiest way to bypass WordPress login disable-security-plugins
Dealing with login issues, especially clean email if they’re caused by hacks or server issues, can be frustrating and time-consuming. That’s where WPBeginner Pro Services can help.
Our hacked website repair service is designed to clean malware, fix vulnerabilities, and restore access to your website quickly.
If your login issue is due to a security breach, we’ll remove any malicious code, strengthen your site’s defenses, and get it back up and running.
Alternatively, WPBeginner also offers an on-demand emergency support service . Our team can help with any errors on your WordPress site, and we charge a one-time, affordable fee.
For more details, see our WPBeginner Pro Services page .
How to make sure you don’t get locked out of your house again disable-security-plugins
I know that being locked out of your WordPress site can be frustrating. Here are some simple steps that can prevent this from happening again:
- Use a password manager: Forgotten passwords are one of the most common reasons for login issues. I recommend using a password manager, like 1Password , to securely store your credentials so you don’t have to remember them.
- Set up an SMTP plugin: Sometimes WordPress fails to send password reset emails due to server restrictions. Installing an SMTP plugin like WP Mail SMTP ensures that your site reliably sends emails , including password reset links.
- Keep a backup of your login URL: If you use a security plugin to change the default login URL, be sure to save it in a safe place. This will prevent confusion when you try to log in later.
- Enable two-factor authentication: Adding an extra layer of security prevents unauthorized logins and keeps your site secure. Use a plugin like WP 2FA or Google Authenticator to require a verification code during login.
- Have an alternate administrator account: If your primary account gets locked out, having a secondary administrator account can be a lifesaver. Just make sure to keep it secure and limit access to trusted users.
- Create regular backups: Having a recent backup ensures that you can quickly restore your site if you get locked out. Duplicator makes it easy to create and restore full backups, so you always have a recovery option.
By following these steps, you can avoid future blockages and keep your WordPress site running smoothly.
I hope this article helped you learn how to bypass the WordPress login. You might also want to see this guide on how to fix the WordPress login page refreshing and redirecting issue or our top picks of the best WordPress login page plugins .
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook .