• I am switching servers on and old site and plan on re-designing as well. I put the old version of the site on a subdirectory and installed a fresh version on the root to begin working on the new site.

    when I moved my domain to the new IP though, I’m having trouble getting the domain to redirect to my subdirectory. I read through this article

    http://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory

    I’m trying the last option, but it doesn’t seem to redirect — I see the new wordpress install when going to my domain. I’m thinking maybe it has something to do with my home and site URL?? Does anyone know what they should be when using that method? or have another method that will work? I’m sort of in a bind with the site not working currently.

    [Moderator note: edited to fix link. Please do not copy links from Google search result pages. Go to the page and copy the url itself]

    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, @jschnyderite. I’m a little bit confused by something: if you installed a fresh copy of WP in the root of your domain so you could build out the new site there, then why are you now trying to make the site use the subdirectory (i.e., the old version of the site) instead?

    Thread Starter jschnyderite

    (@jschnyderite)

    the old version would go on the subdirectory so that when the new site is up, it’ll be on the root of the server.

    I was able to fix it. Has a typo in my .htaccess and adjusted the site URL and home to example.com/subdirectory.

    Only issue now, is when i goto example.com, it shows example.com/subdirectory in the URL. Is there any way to mask or hide that is isn’t at the root?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress on subdirectory and root’ is closed to new replies.