WordPress wp-admin redirect loop is that one dreaded issue, leaves you without much help from anyone, trust me, literally no one gives you a proper answer, including wordpress.com. To add more frustration, think of using .htaccess to redirect because the site files are inside a sub-folder.
I had a strange situation with our corporate website, wp-admin redirecting to the login page once after authentication is successfully done. I couldn’t load this page successfully from any of the browsers, however I was able to login using my mobile phone’s chrome browser!
So WordPress works this way, user tries to access the admin page using yoursite.com/wp-admin that calls the wp-login.php page and after the successful authentication, user is redirected to WordPress admin page, aka wp-admin!
For some reasons that I don’t understand, this gets into a loop! wp-admin loads the login page, login page gets redirected to wp-admin page which wouldn’t load because the authentication didn’t happen(?)…
After couple of hours trying to understand and modify the .htaccess file, I noticed that whenever I tried to access mysite.com/wp-admin, the request was getting redirected to mysite.com/wp-login.php & I decided to proceed with mysite.com/wp-login.php instead of mysite.com/wp-admin
Well, that stopped the redirect loop. I was able to successfully authenticate and access the admin page this way. Are you experiencing the same issue? give it a try and share your experience with us.
