Support » Localhost Installs » Redirect issue

  • Hi. I have installed wordpress on my local machine. I can access it at localhost/mysite. However, when I try to go to localhost/mysite/wp-admin, it redirects me to the live version of my website. What would be controlling this?


Viewing 1 replies (of 1 total)
  • Hi Nick2price,

    When you installed the localhost WordPress most probably you specified the same live domain.

    In this case, to be able to access the localhost you can try to edit the Windows host file, found in C:\Windows\System32\drivers\etc.

    Edit the file with notepad and enter the following line at the end:

    When you do this, you are overriding the DNS and pointing your domain to your computer. This applies to your computer only. Do the changes etc, and delete the entry once done.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect issue’ is closed to new replies.