• I have a WP installation that is installed in a directory, like this:
    https://www.foo.com/blog
    It’s been running on my site since Feb. 2006.
    Everything on my site is a post except for one single page, which I could delete if needed.

    There is a bunch of other stuff on my site that is not in WP. For example, the directory https://www.foo.com/travel has a bunch of old photo galleries created using Photoshop.

    I’d like to create a new directory called https://www.foo.com/stuff that would contain WP pages for products that I review. (There is no ecommerce needed here). I just want to post a bunch of photos and my personal thoughts on these products, with some links of where to buy the products.

    So, here’s my question: can I keep my WP installation where it is (www.foo.com/blog) and use it to create pages that will be displayed in a different directory (www.foo.com/stuff)?

    Thanks for any advice and help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Hulk

    (@hulk)

    Anybody have an opinion on this scenario?

    Thread Starter Hulk

    (@hulk)

    Anyone have a clue about this? I’m thinking that I will end up doing a second installation of WP in the /stuff folder. ??

    If your WordPress’s home directory is located at https://www.foo.com/blog/ the answer is no. You can use rewrites (or even a custom post type with rewrites) to push users to https://www.foo.com/blog/stuff/ but AFAIK you can’t go a step higher in the tree.

    If the pages you want to put in that directory are html pages made outside WordPress, there is no problem putting them in a separate directory. I do that for pages I want some people to have a look at. I even did it this with a WordPress page by first saving the page as a complete webarchive, than upload the resulting page and folder with links in this separate directory. It could then be accessed through the full link ti the resulting page.

    The pages in that folder must be html pages outside the WordPress system.

    Thread Starter Hulk

    (@hulk)

    Thanks, guys. You confirmed my suspicion. I think I will install a second instance of WP in my other directory. My only other option is to move the existing WP installation up to the root level.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Putting pages in their own directory when WP is in a directory’ is closed to new replies.