incorrect redirect location from wp-admin
-
I recently changed my domain from a development server to a live server.
When I visit wp-admin the url is redirected to:
http://domain.com/wp-login.php?redirect_to=http%3A%2F%2Fdomain.com%2Fdomain%2Fwp-admin%2F&reauth=1
Essentially adding the domain twice and I cant seem to find where or why it is doing this. The subdirectory is also called the domain name so it could be appending this.
redirect_to=http://domain.com/domain
The Site URL is correct and i even set this manually in the wp-config file.
All else is working correctly, I have had no problems with permalinks or other references to the domain.
I can login correctly if I visit /wp-login.php directly or domain.com/login.
Or even if i remove the extra /domain from the url.
The topic ‘incorrect redirect location from wp-admin’ is closed to new replies.