“Help! I’m locked out of WordPress!” This is one of the most common emergency requests I get from my friends who are WordPress beginners. And I get it – being unable to access your WordPress dashboard can feel like being locked out of your own house.
Fortunately, I’ve learned that there’s always a way back in. Whether it’s through FTP, password reset emails, or resetting the password via the database, I’ve developed a foolproof system for bypassing WordPress login issues.
In this guide, I’ll share the expert methods I’ve learned over the years of WordPress troubleshooting. These aren’t just random tips from the internet – they’re proven solutions that have helped many website owners regain control of their sites.

When Do You Need to Bypass WordPress Login?
Sometimes, logging into WordPress isn’t as simple as entering your username and password. Things can go wrong, and access gets blocked.
Here are some common situations when you may need to bypass the login screen:
🔑 Forgotten Password: If you can’t remember your password and the reset email never arrives, you won’t be able to log in. This can happen if your email settings are misconfigured or if emails are being filtered as spam.
⚙️ Plugin Conflicts: Some security or login plugins may be incompatible with other software on your site, causing login problems. A misconfigured setting, a plugin update, or even a caching issue could cause WordPress errors that block user access.
🚨 Hacked Website: Hackers might lock you out by changing your login details. In this case, bypassing login is necessary to regain control and secure your site.
🚫 Too Many Failed Login Attempts: Many security plugins block login attempts after multiple incorrect passwords. If you’ve been locked out due to too many failed logins, you’ll need to bypass this restriction to regain access.
🛠️ Broken Login Page: A faulty theme or plugin update can sometimes break the login page. If the login form isn’t loading correctly or is showing errors, then standard login methods won’t work.
🔄 Custom Login URL Issues: Some security plugins allow you to change the default login URL for extra protection. If you forget the new URL, you can’t access the login page.
The good news is that there are ways to bypass the issue and get back in safely. I will walk you through several different WordPress troubleshooting tips.
You can use the jump links below to skip to any section:
- Tip 1. Use the Direct Login URL
- Tip 2. Reset Your Password via Email
- Tip 3. Reset Password From Your Database
- Tip 4. Disable Security Plugins via FTP
- Tip 5. Create a New Admin User via phpMyAdmin
- Tip 6. Restore Your Site From Backup
- The Fastest and Easiest Way to Bypass WordPress Login 💡
- How to Make Sure You Don’t Get Locked Out Again 🔒
Having said that, let’s take a look at some easy ways to bypass WordPress login.
Tip 1. Use the Direct Login URL
Sometimes you might not be able to find the WordPress login screen.
In that case, the simplest fix is to use the direct login URL. WordPress has a default login page that you can access even if there are minor issues with your site.
To access this login page, you can try the following URLs:
www.example.com/wp-admin/
www.example.com/wp-login.php
www.example.com/admin/
www.example.com/login/
However, don’t forget to replace ‘example.com’ with your own domain name.

Typing any of these URLs into your browser will take you to your login screen.
Now, you might be wondering how accessing the login screen can help you bypass it.
Well, if your WordPress session is still active (you’re still logged in), then the wp-admin/
URL might even take you to your WordPress dashboard without requiring a password.

If the login page doesn’t load, then you can also try adding a redirect URL. Entering this in your browser might force WordPress to redirect you to the login screen:
www.example.com/wp-admin/?redirect_to=yourwebsite.com/wp-admin/
If none of these URLs work, then you can try my next trick.
💡 Note: If you’ve changed your login URL using a security plugin, these default URLs may not work. In that case, you’ll need to enter the custom login URL you set up.
Tip 2. Reset Your Password via Email
If you can’t log in because of a forgotten password, then WordPress offers a built-in way to reset it via email. This is often the quickest and easiest way to regain access.
To do this, go to the WordPress login page (https://example.com/wp-login.php
) and click on the ‘Lost your password?’ link.

Once you do that, you will need to enter your username or email address and click the ‘Get New Password’ button.
WordPress will then send a password reset link to your email. Here, click the given link, and follow the instructions to set a new password.

If you don’t receive the email, then check your spam folder. Some hosting providers or email settings may block WordPress emails.
If that happens, you may need to reset your password manually through the database (more on this in the next section).
🔎 Related Post: If your site was hacked, then you may want to reset passwords for all your users. In that case, see this tutorial on how to reset password for all users in WordPress.
⚠️ Important Warning: The following steps (tips 3-6) involve more technical troubleshooting methods. Some of these solutions require modifying your database, accessing server files, or making direct changes to your WordPress installation.
Before proceeding with any of these methods, please keep these precautions in mind:
- Create a Full Site Backup: If possible, back up your website files and database before making any changes. This ensures you can restore your site if something goes wrong. (I know this might not be possible if you can’t log in, but it’s worth mentioning.)
- Proceed with Caution: Making incorrect changes to your database or files could cause further issues. Follow each step carefully, and if you’re unsure, consider using professional help.
- Use Secure Access Methods: When working with FTP, cPanel, or PHPMyAdmin, always ensure you’re using a secure connection to avoid exposing sensitive site data.
A small mistake in the database or file structure could lead to bigger issues, so take your time and ensure you’re following the instructions carefully.
Are you worried that the following tips are too advanced for you? Don’t stress! Learn how you can get affordable, professional help instead.
Tip 3. Reset Password From Your Database
If the password reset email isn’t working, then you can manually reset your password through your website’s database. This method requires access to your hosting control panel.
For this tutorial, I will be using Bluehost, but keep in mind that these steps will differ slightly depending on your hosting provider.
Simply open your hosting panel and switch to the ‘Advanced’ tab. Then, locate the ‘PHPMyAdmin’ section and click the ‘Manage’ button.

📌 Quick Explanation: phpMyAdmin is a tool to manage your website’s stored information (like a filing cabinet for your site).
Once phpMyAdmin launches on your screen, you need to select your database from the left column. You will now see the list of tables in your WordPress database.
Here, look for the wp_users
table in the list and click the ‘Browse’ link next to it
Keep in mind that the table names in your database may have a different prefix than the one I am showing in my screenshot. The prefix is the group of letters before the underscore (_) in the table name.
To learn more, see this tutorial on changing table prefixes.

You will now see a list of your website’s WordPress users. From here, click the ‘Edit’ link next to the username for the password you want to change.
Go ahead and delete the value in the ‘password’ field and replace it with your new password.

After that, click the ‘Go’ button at the bottom to store your changes.
Now visit your website to see if you can log in.
For detailed instructions, see this tutorial on how to reset a WordPress password from phpMyAdmin.
Tip 4. Disable Security Plugins via FTP
Sometimes, a security plugin can accidentally block you from logging into your WordPress site. If you suspect this might be the issue, you can manually disable the plugin using FTP.
📌 Quick Explanation: FTP is a program that helps you upload and download files to your website (like a bridge between your computer and website).
Related Post: If you are unsure which plugin is preventing you from logging in to your website, then I recommend deactivating all the plugins. For details, see this tutorial on how to deactivate all plugins when not able to access the wp admin.
First, you will need to connect your website with an FTP client like FileZilla. If you don’t know how to do that, see this tutorial on how to use FTP to upload WordPress files.
Once you have done that, navigate to the/wp-content » plugins
folder.

This will open a new folder with a list of all the downloaded plugins on your site.
From here, you need to find the folder of the security plugin you want to disable. For example, if you’re using Wordfence, look for a file with its name.
When you find it, right-click the plugin folder and select the ‘Rename’ option. Then, change the folder’s name to wordfence-disabled.

This will deactivate the plugin immediately as WordPress won’t be able to find it. You can now try logging in to your website to see if the issue has been fixed.
Tip 5. Create a New Admin User via phpMyAdmin
Another way to bypass the login is to create a new admin user directly from the database using phpMyAdmin.
Go ahead and open your hosting company’s dashboard, switch to the ‘Advanced’ tab, and select the ‘PHPMyAdmin’ section.

Once it opens up, you need to click on the wp_users
table. This will take you to a new screen where all the users on your website will be listed in a row.
Here, click 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 the WordPress database.
Once you have completed the process, you can try logging into WordPress with the new admin credentials.
Tip 6. Restore Your Site From Backup
If you backed up your site before getting locked out, then you can restore it to regain access.
Most backup plugins let you restore your site by uploading a backup file or using an external restore feature.
For example, if you’re using a backup plugin like Duplicator, then you can upload your backup package and installer file to your server to restore your site in just a few clicks.

With the paid version of the Duplicator plugin, you’ll also have access to one-click backup restores.
This allows you to restore your backup almost immediately.

However, if you backed up your site manually, then you will need to restore it using your database and files. You can either create a new database and import your backup to it, or you can empty your existing database and import the backup.
These methods will be a bit complex, which is why I don’t recommend them to beginners.

Once restored, you can log in to your site as usual and reconfigure any settings if needed.
For more information, see this beginner’s guide on how to restore WordPress from backup.
The Fastest and Easiest Way to Bypass WordPress Login 💡
Dealing with login issues, especially if they’re caused by hacks or server problems, can be frustrating and time-consuming. That’s where WPBeginner Pro Services can help.
Our Hacked Site Repair service is designed to clean up malware, fix vulnerabilities, and restore access to your site 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 in working condition.

Alternatively, WPBeginner also offers an On-Demand Emergency Support Service. Our team is available 24/7 to help with any errors on your WordPress website, and we charge an affordable, one-time fee.
For more details, see our WPBeginner Pro Services page.
How to Make Sure You Don’t Get Locked Out Again 🔒
I know that getting locked out of your WordPress site can be frustrating. Here are a few simple steps that can prevent it from happening again:
- Use a Password Manager: Forgetting passwords is 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 doesn’t send password reset emails due to server restrictions. Installing an SMTP plugin like WP Mail SMTP ensures your site sends emails reliably, including password reset links.
- Keep a Backup of Your Login URL: If you use a security plugin to change your default login URL, then make sure you save it somewhere safe. This prevents confusion when trying to log in later.
- Enable Two-Factor Authentication: Adding an extra layer of security prevents unauthorized logins and keeps your site safe. Use a plugin like WP 2FA or Google Authenticator to require a verification code during login.
- Have an Alternative Admin Account: If your main account gets locked out, having a secondary administrator account can be a lifesaver. Just be sure to keep it secure and limit access to trusted users.
- Create Regular Backups: Having a recent backup ensures you can restore your site quickly if you ever 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 lockouts and keep your WordPress site running smoothly.
I hope this article helped you learn how to bypass WordPress login. You may also want to see this guide on how to fix the WordPress login page refreshing and redirecting issue or our top picks for 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.
The post How to Bypass WordPress Login (7 Expert Tips) first appeared on WPBeginner.
from WPBeginner https://ift.tt/S0GTCd3
More links is https://mwktutor.com