So when I go on localhost, my development environment loads fine. But when I try to go to /wp-admin
, I get redirected to the production URL mysite.com/wp-admin
. Where is this being set? I don’t want to be redirected.
4 s
You can find and replace instances of the old URL in your database but it’s best to use a tool that handles serialized data such as BackupBuddy to avoid breaking things like some plugins. Hope this helps!