How to Fix WordPress Can’t Login Problems

Nothing can be frustrating as login issues to administration panels. Login issues can occur from several causes such as database connection, server issues, theme or plugin conflicts. If you are encounter any of this issues, don’t panic! Nothing is wrong with your WordPress website. You will not lose any data if you follow each step carefully.

Clear your browser cookies and cache

WordPress requires cookie as part of login system. Cookies are your interaction data with the website that store in the browser. If your browser does not support cookies or disable, WordPress login will not work.

How to Enable Cookie in Chrome

  1. Open your Chrome Browser and in the top right corner click More(Icon)and then Settings
  2. Type in “Cookies” into search box
  3. Click Content Settings
  4. Click Cookies
  5. You can check Allow sites to save and read cookie data if it is switched on then your browser is already enabled cookie.

Browser cache is a temporary file stored in your browser for many purposes from performance to security. Mismatch cache version between WordPress and your browser can prevent you from logging in. Therefore, you should try to clear your browser cache to see whether the problem will resolve.

How to Clear Cookie and Cached file in Chrome

  1. Open your Chrome Browser and in the top right corner click More(Icon)and then Settings
  2. Type Clear Browsing Data into the search box.
  3. Click Clear Browsing Data and click on the Basic tab.
  4. Make sure Cookies and other site data and Cached images and files are selected.
  5. You might want to increase Time range in the dropdown incase you didn’t access your website in the last 24 hours.
  6. Confirm by clicking the Clear Data button on the bottom right corner.

Reset Password

Sometimes login issues can solve easily by resetting the password. Please note both username and password fields are case-sensitive. Admin and admin is two different usernames.

Disable Plugins

In a normal situation, you can just log in to the administration panel and disable plugins. However, in this case, you have to disable manually. First, you need an FTP access credential from your hosting provider.

  1. Access to your WordPress directory via FTP client such as FileZilla or directly from your web control panel (cPanel or DirectAdmin)
  2. Browse to /wp-content/plugins directory
  3. In plugins folder, you can choose to delete each plugin manually or rename the plugin’s folder name to anything which will automatically deactivate the plugin.

Disable Themes

A theme can also be the root of the problem. You should first try to deactivate the theme by renaming theme’s folder to another name. WordPress will automatically revert itself to the default theme. If the problem is resolved, it means your theme might need a quick checkup.

Deactivate theme via FTP and revert to the default theme

  1. Access to WordPress directory via FTP
  2. Browse to /wp-content/themes directory
  3. In themes, folder rename your current theme’s folder to any name
  4. Refresh your WordPress website to allow WordPress to revert to the default theme 

Debug problem with the theme

To debug your theme go to WordPress root directory and open wp-config.php file and after <?php in the first line put this code in

At the beginning of wp-config.php should look something like this

ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);

Corrupted Login File

When performing a WordPress upgrade or even normal day operation can corrupt WordPress system files. This can easily fix by re-upload and replace the old file.

  1. Access your WordPress directory via FTP
  2. Locate and delete wp-login.php in the root directory of WordPress
  3. Upload a new wp-login.php file from fresh WordPress package that you can download from WordPress.org

Incorrect WordPress or Site URL

If you have moved your WordPress from another domain or unsure whether WordPress is set up with correct domain name or folder or not. You can force WordPress to use the new URL. This method usually uses to fix the redirect loop problem as well.

  1. Access your WordPress directory with FTP client
  2. Download wp-config.php file from WordPress root directory
  3. Open wp-config.php with any text or code editor
  4. Insert the following code and replace example.com with your website URL.
  5. Re-upload wp-config.php to your server

Insert this code to wp-config.php

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Share this content!
  • 9
  •  
  •  
  •  
  •  
    9
    Shares
  •  
    9
    Shares
  • 9
  •  
  •  
  •