Login redirects back to login
-
I am having what seems to be a very common problem where I am redirected back to the login page when I login to mydomain/wp-admin and mydomain/wp-login.php.
I just migrated my site to cPanel hosting from a small hosting service. I exported my database and following the instructions to load it on the new server. I edited my wp-config file to contain the new addresses. I don’t use a www address and verified in my domain settings that this isn’t the case. I’ve used myPhP to edit the database entries for siteurl and home. Both are accurate. I’ve modified the .htaccess file as suggested by some, and I’ve use a new clean .htaccess. None of this makes a difference.
In fact, if I do a clean install of WordPress, I have access to the admin pages up until the point where I restore my old database to the new server. At this point, my site works perfectly, but I get redirected back to the login page when I try and access the back end. I’ve disabled all plugins and themes (by renaming the folders) and I still get the same result. I’ve read about 1,000 posts on here and none of the solutions have worked for me. Please help if anyone knows where I should look next. I’m guessing there’s a database setting somewhere that is causing my issue, but it’s a needle in the haystack situation for me at this point. Any suggestions would be greatly appreciated.
- The topic ‘Login redirects back to login’ is closed to new replies.