Local install Admin redirects to Live install
-
So I inherited a WordPress site that is going to undergo some significant changes while the site is still live. So, I have performed a local install of the site using MAMP.
The problem I am having here is that the local install’s admin is redirecting to the live site’s admin instead.
So when I try to go to:
“local.website-address.dev/wp-admin”it takes me instead to
“www.website-address.com/wp-login.php?redirect_to=http%3A%2F%2Flocal.website-address.dev%2Fwp-admin%2F&reauth=1”which, then logs me into the the live site dashboard instead of the local.
I tried giving it a new database and that allowed me to login to the local install, but when I activated the custom theme, it would redirect me back to the live login when I tried to go to any other area of the admin.
Does anyone know where a likely place to find the cause of this redirect?
Thanks.
- The topic ‘Local install Admin redirects to Live install’ is closed to new replies.