Ready to get started?Download WordPress


Hide redirect path (4 posts)

  1. argthe3rd
    Posted 2 years ago #

    I am new to WP and have installed it in it's own subdirectory and am redirecting my URL to it. When I type my URL in a browser, the sub-directory shows up - is there any way to prevent this from happening?

    For example, subdirectory name is WP. URL entered is: http://www.mydomain.com , URL that shows: http://www.mydomain.com/WP (I'd like to keep WordPress in the subdirectory, still redirect but hide the WP from showing). Any suggestions?


  2. rockt204
    Posted 2 years ago #

    Install in main directory then

  3. argthe3rd
    Posted 2 years ago #

    If there's no other way I will. I'm trying to avoid a root install

  4. rockt204
    Posted 2 years ago #

    Unless your blog is a secondary part of an existing website you should always install WordPress on the root directory. When I created my first blog I used an automatic WordPress instalation that my web hosting company offered, but the standard installation was done on “www.domain.com/blog”.
    I was not sure how this would affect the blog therefore I decided to leave things as they were. A couple of months later when I started studying SEO I realized that this was a bad move. My blog could be accessed either through “www.domain.com” or “www.domain.com/blog”, meaning that the Homepage was duplicated. Secondly Google’s Pagerank was also being divided and some aggregators like Technorati were considering the two addresses as two different blogs.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.