Login keeps directing back to localhost
-
I just shifted my dev site from http://localhost/wordpress (using XAMPP) to a remote server (http://www.*remotedevsite*.com <– not a real domain name). When doing this, I changed the database name, too, but even though I did modify wp-config.php to reflect the change, whenever I enter in the browser url “www.remotedevsite.com/wp-admin”, it keeps redirecting me to localhost/wordpress/wp-login (more precisely, http://localhost/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fwww.remotedevsite.com%2Fwp-admin%2F&reauth=1page) and I cannot seem to login to the remote dev site dashboard.
I did clear cookies several times but doesn’t help.
Which file should I look in to rectify this?
The topic ‘Login keeps directing back to localhost’ is closed to new replies.