The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Redirect issue (2 posts)

  1. nick2price
    Posted 4 years ago #

    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?


  2. Johnb81
    Posted 4 years ago #

    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: http://www.youwebsite.com

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.