Putting pages in their own directory when WP is in a directory (6 posts)

  1. Hulk
    Posted 4 years ago #

    I have a WP installation that is installed in a directory, like this:
    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 http://www.foo.com/travel has a bunch of old photo galleries created using Photoshop.

    I'd like to create a new directory called http://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!

  2. Hulk
    Posted 4 years ago #

    Anybody have an opinion on this scenario?

  3. Hulk
    Posted 4 years ago #

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

  4. Drew Jaynes
    Docs Czar
    Posted 4 years ago #

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

  5. Helleshoj
    Posted 4 years ago #

    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.

  6. Hulk
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic