June 17, 2020
3min Read
Domantas G.
Being stuck in the WordPress login page can be frustrating. Fortunately, there are several ways to solve this issue. Take a look at this article as we’ll uncover how to solve WordPress login redirect loop issue using three simple methods.
Take your WordPress site to the next level and get a secure WordPress hosting solution with Hostinger today!
WordPress login redirect loop issue occurs when the platform keeps redirecting you to the wp-admin page even though you input the correct login credentials.
Depending on its cause, there are three ways to solve the WordPress login redirect loop issue: clearing browser cookies and cache, restoring .htaccess file, and deactivating themes and plugins.
Be sure to back up your WordPress site first before making any major changes to avoid data loss
WordPress uses cookies for user authentication and session management. It also enables caching to make your site loads faster.
While they are beneficial to your site, cookies and cache can cause the WordPress login redirect loop issue. The problem arises when your browser’s cookies and cache still hold onto old information or use outdated WordPress files.
Here’s how to clear your browser cookies and cache in popular web browsers:
In some cases, the WordPress login redirect loop issue is a result of a corrupted .htaccess file. If that’s so, you only need to replace the faulty file with the working one.
Here’s how to restore the default .htaccess file:
Conflicting or corrupted plugins is another common culprit of the WordPress login redirect loop issue. Therefore, you need to deactivate the faulty plugin.
Here’s how to troubleshoot the login redirect loop issue by deactivating your WordPress plugins:
Similarly, a faulty custom theme can also disrupt your access to wp-admin. To confirm this suspicion, you need to revert the site to the default WordPress theme — twentyseventeen.
Here’s how to troubleshoot the login redirect loop issue by deactivating your WordPress theme:
WordPress login redirect loop is a common issue that can happen to anyone. Fortunately, you can easily solve this error by clearing browser cookies and cache, restoring default .htaccess file, and deactivating themes and plugins.
Do you find this tutorial helpful? Let us know in the comments section below!
March 27 2019
I just wanted to save someone else 3 hours of their lives. I had tried alllllll the answers online and then finally in an error log I noticed that that UID was smaller than.. This was caused by the file owner not being correct. The simplest way to correct this for most people is to: Navigate wp-admin/ Locate index.php rename index.php index_old.php Create a new file -> name this: index.php open index_old.php and copy the contents and paste them into index.php This should fix the error. Now you may get a reauth=1 error. The best solution I found was to log in from Chrome using incognito mode, once you have done this you can go back to using your browser. We then had another issue with no loading style sheets.. the answer: locate: wp-config.php at the end of the file paste this line: define( 'CONCATENATE_SCRIPTS', false );
September 23 2020
Or just enter it in private mode (or another browser), change password and: voila!
Leave a reply