Can’t Login to WordPress Admin – Troubleshooting Tips and Fixes

Being unable to log in to your WordPress admin dashboard can be frustrating, but this issue is usually fixable through a series of troubleshooting steps. Here are some common problems and solutions to help you regain access to your WordPress admin area.

  1. Incorrect Password

If you’re facing issues logging in due to an incorrect password:

  • Use the “Lost your password?” link on the login page to reset your password.
  •  Create a new password by following the instructions in an email you have received.
  1. Error Establishing Database Connection

This error means WordPress is unable to connect to the database. It could be due to incorrect database information in your wp-config.php file or the server being down.

  • Verify the database name, username, password, and server in your wp-config.php file.
  •  Verify that the database server works appropriately by contacting your hosting service provider.
  1. White Screen of Death (WSOD)

If you encounter a blank screen when trying to log in:

  • Increase the memory limit by adding define(‘WP_MEMORY_LIMIT,’ ’64M’) to your wp-config.php file.
  • Check for theme or plugin conflicts by turning off all plugins and switching to a default theme via FTP. Reactivate them one by one to identify the culprit.
  1. Plugin or Theme Conflicts

Plugins or themes can sometimes cause login issues:

  • Deactivate all plugins by renaming the folder in the wp-content directory via FTP. If this resolves the issue, rename the folder and deactivate each plugin individually in the dashboard.
  • Switch to a default theme by renaming your current theme’s folder in the wp-content/themes directory. WordPress will revert to a default theme.
  1. Corrupted .htaccess File

A corrupted .htaccess file might prevent you from accessing the admin area:

  • Rename your .htaccess file to .htaccess_old via FTP to deactivate it.
  • If you regain access, go to Settings > Permalinks in the WordPress dashboard and click Save Changes to generate a new .htaccess file.
  1. Browser Issues

Browser issues can sometimes cause login problems:

  • Clear your browser’s cache and cookies.
  • You must use another browser or incognito mode to avoid browser-specific problems.
  1. Update Site URL

If the site URL was changed accidentally, you could update it via wp-config.php:

  • Add define(‘WP_HOME’,’’); and define(‘WP_SITEURL’,’’); to your wp-config.php file, replacing with your actual site URL.
  1. Disable Security Plugins

If you have security plugins installed, they might be locking you out:

  • Access your site via FTP and rename the plugin folder for your security plugin, which can be found in wp-content/plugins/. This will deactivate it, allowing you to log in.

Additional Steps

  • Check for IP Ban: Your hosting provider might have mistakenly blocked your IP. Check with them to ensure your IP isn’t blocked.
  • Manual Upgrade: If all else fails and you suspect a corrupted WordPress core, manually update WordPress by downloading the latest version and using FTP to overwrite the existing files.


Being locked out of your WordPress admin can stem from various issues, but these troubleshooting steps cover the most common scenarios. If you continue to experience difficulties, contacting your hosting provider or seeking assistance from a WordPress developer might be necessary.


Leave a Reply

Your email address will not be published. Required fields are marked *