How to fix WordPress login not working error
Are you facing the WordPress login not working error on your WordPress website? The login error is one of the common problems for WordPress and following some easy steps you can easily get rid of this problem. The login page is very very important to access your admin dashboard. WIthout login to your website, you won’t be able to manage your website. So if your login is not working then you have no control over your website. But don’t worry there are many solutions available for this common error.
What causes the WordPress login error?
There are many reasons for the login not working error. The wrong URL setting is the main reason for this error. Unavailability of login cookies or failed setup of login cookies is also responsible for the login page refreshing issue.
By default, WordPress saves your login info and sets login cookies in your browser. So when you try to log in it redirects you to the login area. If your login URL is incorrect or the cookies are not set properly then instead of redirecting to the admin dashboard it will redirect to the same page. Besides plugin conflict, theme conflict and server errors like Error establish a database connection can be a reason for this problem.
Fix WordPress login not working error
Clear WordPress cache
Sometimes your website may face some common errors for WordPress cache. You can use any caching plugin to clean up your WordPress cache. When you are using a caching plugin then you will be able to see the cached version of your website.
A cached version of your website can slow up your website performance. So you need to make sure that your website cache should be cleaned regularly.
Clear browser cookies
To clear cookies in the Google Chrome browser click on the 3 dots icon at the top right and then click on the More Tools option.
It will open up the clear browsing data page from their select all time and check the Cookies and other site data and Cached images and file option. Click on the Clear data button to clear browser cookies.
Fixing WordPress URL
Wrong WordPress URL can also be a reason for failure to load resources error. So go to Settings > General and check that your WordPress Address URL and Site Address URL are the same. Make sure these two URLs are the same. If it has the sea URL then you just need to click on the Save Changes button without doing anything.
If you are not able to log in then how could you fix the WordPress URL? For this, you need to connect your website with an FTP client or access your hosting dashboard. Using the File Manager option of your hosting account you can fix the issue.
After connecting to your website with an FTP client or opening the file manage go to the WordPress root folder and open up the wp-config.php file and add the following code at the end.
Save the file and upload it back to the server. This will solve the issue.
Use default theme
Sometimes your active theme can be the reason for this problem. After updating the WordPress or the theme can conflict with each other and create this issue. So you need to deactivate the theme and active a default theme to check if the problem still exists or not.
Using the FTP client you can change the theme. Go to wp-content/themes and rename the file as themes_backup.
Following the process, you will be able to fix the WordPress login not working error. You can see our other articles to learn How to find and access WordPress error logs
How to fix your website structure
How to fix WordPress database update required loop
We hope this article will help you. If you like this article please like our Facebook page to stay connected.