Moving WordPress to new domain, problems redirecting back to old one
I’m trying to duplicated a wordpress install at two different locations with different domains (eventually they’ll have slightly different content). I’ve duplicated the files and databases and updated the wp-config file and used PHPMyAdmin to update “home” and “siteURL” in the database.
When I visit the domain, I get what I’m expecting, but when I try to visit wp-admin I get redirected back to the wp-admin for the old site.
e.g. when I try to go to http://www.mysite.com/wp-admin, it redirects to http://www.myoldsite.com/wp-login.php?redirect_to=http%3A%2F%2Fmysite.com%2Fwp-admin%2F&reauth=1
I’m guessing I missed something in the database, but I can’t for the life of me figure out what it is.
I’m trying to have both sites live, so I don’t want to take down the old one in hopes that this stops the redirect.
- The topic ‘Moving WordPress to new domain, problems redirecting back to old one’ is closed to new replies.