Hi all, I’m attempting to clone an existing site to my local system to do some work on. I’ve updated the ‘home’ and ‘siturl’ options in the database, have changed the wp-config.php file to use my local database (cloned from the live site), have set up a virtualhost in apache with a serveralias and servername of [mysite].local and added a [mysite].local entry in my /etc/hosts file. Everything is set up to listen on port 80. But when I try to view [mysite].local, my browser is redirected to the live site at [mysite].com. Any ideas on what I’ve missed that may cause this?
- The topic ‘localhost redirects to remote site on load’ is closed to new replies.