WordPress.org

Ready to get started?Download WordPress

Forums

Getting re-directed to my localhost (2 posts)

  1. uglymunky
    Member
    Posted 6 years ago #

    Hi,

    I've set up virtual hosting on my computer. My file structure looks like this:

    /localhost
    /localhost/blog
    /localhost/test1
    /localhost/test2

    I've set up a virtual host for each of the four: localhost, blog, test1, test2.

    If I place an index.html page in any of these four and point to it with my browser (ie...http://localhost, http://blog, http://test2, or http://test2) I see my index page accordingly. However, once I install WordPress files into /localhost/blog I begin getting redirected from http://blog to http://localhost.

    I tried the solutions mentioned below but then I start getting php errors.
    http://wordpress.org/support/topic/136889?replies=11

    I noticed everything works fine when I point my browser to http://localhost/blog. However, I would like to have it work when I go to http://blog.

    Thanks!

  2. uglymunky
    Member
    Posted 6 years ago #

    Help...please?

Topic Closed

This topic has been closed to new replies.

About this Topic