What's WP
Find Everything Related to WordPress - Best Tutoriasl on WordPress!
Common WordPress Login Issues and Proper Resolutions

Common WordPress Login Issues and Proper Resolutions

We have to admit that WordPress is an incredibly flexible and powerful platform. With it, you can enjoy a lot of great features and start any kind of online platforms as you wish. However, as every coin has two sides, WordPress also comes with some unexpected frustrations. And one of them is the login issue. This time, we’d like to list some common WordPress login issues, along with the proper resolutions to deal with and prevent them.

To be frank, once you are encountering this issue, you can be disappointed and frustrated. After all, you cannot enter your WordPress admin panel. This means you have no rights and freedom to edit your web contents, make some changes on the website design, carry out the website optimization and do many more. However, the lucky thing is that you can find the effective troubleshooting from the following part, especially when you run into the same occasion as we list.

Issue 1 – Forget Your Login Password or Username

This is the mostly happened situation for newbies. It is possible that you change the login credential, especially the password regularly, for the better website security. It is possible that your password and username are too complicated to remember. Also, it is possible that your website is hacked so you lose your login information. No matter what the reason is, once this happens, you cannot access your website back-end.

However, it is not an important and deadly problem. You can get your login credential back or set a new one easily.

How to Deal With It

In fact, the resolution is really simple. You can change the password or the username directly from your MySQL database. Here, we highly recommend you to use the phpMyAdmin tool that is available from almost all the control panels.

After targeting it and logging in successfully, you should click the proper database that connects with your WordPress site. This way, you can find a long list of tables just like the following demo. Here, you need to browse the wp_users one.

wp-user Table

After that, you should click the Edit button so as to make the changes for some of its values. Here, you need to focus on the “login” and the “pass” options. From the Value columns of them, you can enter your new username and password easily.

Change Username and Password

Issue 2 – The Login File Is Corrupted

With the installation of your WordPress, there is an essential file that you should pay much attention – wp-login.php. If this special file is deleted, corrupted or misplaced by you accidentally or by some hackers, you cannot enter the admin panel of your site at all.

How to Deal With It

If the issue is caused by this reason, you need to bring the proper WordPress login file back to the right location. Here, we have listed a few steps in the following.

  • Firstly, you need to make a backup for your WordPress site.
  • After that, you can delete your current login file. For this, you can use your FTP client or use the File Manager tool found from the cPanel control panel. Note that you can find this file from the root directory where you install the WordPress script.
  • Now, you should download a new copy of WordPress script. This way, you can get a fresh and error-free copy of the wp-login.php file.
  • Next, you need to copy and paste this file in the place of your removed login file.
  • Here, you should open and edit this special file and search for the following line of code. And then, you need to replace it with the second line of coding stuff.

WordPress Login File Code

Issue 3 – The Cache and Cookies Are Not Set Up Properly

In fact, the cookies can be regarded as the small files that your browsers store in the directories. With them, the browsers can keep the information about the user connection with a specific website. Here, you need to note that WordPress requires the cookies for the proper login process. If this feature is not activated, the WordPress login cannot work.

As for the browser cache, it refers to the files that are stored on your browsers temporarily. In most cases, if the cache can not update timely and properly, you may check or use some old versions of files to support WordPress. If so, the login issue may occur.

How to Deal With It

The lucky thing is that you can fix this issue easily. Here, you simply need to enable the browser cookies and clear the old cache and cookies that may lead to the login issue of your WordPress site.

Issue 4 – Encounter the Theme Issue

Here, you need to know that the theme issue can also lead to the login problem of your WordPress site. Especially, some WordPress templates have their own login pages that can conflict with the default one. Generally, this issue is likely to happen when you have done the following two things.

  • You have updated the WordPress core. There are some compatible issues between the new WordPress version and your template.
  • You have updated your currently used WordPress theme.

How to Deal With It

For this aspect, you firstly need to figure out whether it is your WordPress template that leads to the login issue. Here, you can revert your current template back to the default one. As you cannot make this change via your admin panel, you should enter the theme directory via the FTP connecting to your site. Here, you can find the folder that is named as “themes”. After that, you can rename it to anything you like.

This practice simply forces WordPress to use the default template. If the login issue is resolved, you’d better change your template to a new one that will not cause this problem.

WordPress Theme Folder

Issue 5 – Run Into the Plugin Interference

If you cannot access your WordPress admin, it is possible that your plugins interfere with the login function of WordPress. This might be caused by a single plugin or even the conflict issue among various options.

How to Deal With It

Just like you do to your website theme, you firstly should make certain whether it is the plugin that causes the issue. Again, you can enter your website root directory and target the plugin folder. Here, if you rename this folder, all your activated plugins will be disabled.

Now, if you can access your admin, you need to go to the Plugins section to enable your plugins one by one, until you find the one or even more that cause the login problem.

Issue 6 – The Site URL is Redirected

If you have changed the general settings of your WordPress site, you must have found two fields that are named as WordPress Address and Site Address. Here, the former one identifies the location that you install the WordPress script and the latter one identifies your online location.

You need to bear in mind that these two fields must be filled with the same URL. If not, there can be a lot of issues, including the inability to access the admin.

Generally, if you have migrated your WordPress site, moved your WordPress to a sub-directory or altered the location of the core files for the WordPress script, you are likely to meet this issue.

How to Deal With It

There is a simple way for you to deal with this issue. For this, you simply need to access the wp-config.php file of your site using the FTP client, and then, insert the following lines of code.

WordPress and Site URL

Note that the “home” one means the WordPress address while the “site url” one means the website URL.

Now, you can make these two links the same. And them, you should upload this newly changed file to your server to replace the old one using the FTP again.


Susan Rose is a freelance writer who has a deep knowledge about WordPress. She loves everything related to website building since the freshman year at Christopher Newport University, and loves to share her experience with people all over all the world. In the daily life, Susan loves detective novels as it can train her logical thinking and creativity.