WordPress.org

Ready to get started?Download WordPress

Forums

Location of Pages (9 posts)

  1. amirs
    Member
    Posted 9 years ago #

    Hi. I'd like for wordpress (and thus my weblog) to be in its own directory (i.e. http://mydomain.com/wp/ ) but I also want to create several Pages that would be in this form: http://mydomain.com/page1, as opposed to http://mydomain.com/wp/page1

    Is there a way to accomplish this? I don't want to put wordpress my my top level directory, because I want http://mydomain.com to have a static webpage.

    Thanks,
    Amir

  2. interknox
    Member
    Posted 9 years ago #

    There are plugins that will make a page "static" if that helps and as your home page.

    As for seperate pages within wordpress, i'm not sure.

  3. amirs
    Member
    Posted 9 years ago #

    Thanks. Maybe I should be going about this differently. What I really want to do is have a static page on http://mydomain.com and then mydomain.com/blog (with the weblog) and mydomain.com/section1, mydomain.com/section2, etc. Can anyone recommend a solution?

    Thanks in advance.

  4. oyon
    Member
    Posted 9 years ago #

    I would think apache or something could do some clever url rewriting to change blog/index.php?page_id=XXX to ../pageXXX but I don't think it's a trivial solution, depending on what kind of access you have to the server.

    There's bound to be someone more clever than me who can help you out though...

  5. kaat
    Member
    Posted 9 years ago #

    amirs, perhaps I am not understanding you, but what you last wrote would simply be a question of your home page being a static (non-wp) page of your creation, index.htm or index.php or whatever, that sits in your defined root directory. Then your wp would be installed to a sub-dir, say, blog, and simply linked from the home page. This would allow you to treat your root dir like any other server situation.

    And if your concern is preserving the design of your site overall, it wouldn't be difficult to pick a wp page and, perhaps using it's page source, create your home page based on it.

  6. amirs
    Member
    Posted 9 years ago #

    Kaat, you've got it down, except I'd like one more thing...which is to create WordPress Pages and have them at http://mydomain.com/Page, instead of http://mydomain.com/blog/Page (which is how it would appear if wp was installed in /blog).

    I hope this made sense. Thanks.

  7. moshu
    Member
    Posted 9 years ago #

    If you create WP Pages via the Write Page admin interface they can not be outside of WP. So, the answer is no, you can't have mydomain.com/Page if you created the Page in mydomain.com/blog.

  8. smithcorona
    Member
    Posted 9 years ago #

    there's a static pages plugin i read about in the wiki
    http://codex.wordpress.org/Pages

    it points to this

    http://www.semiologic.com/projects/static-front/

    This should allow you to have whatever you wish upfront.

    hope that helps

  9. smithcorona
    Member
    Posted 9 years ago #

    oh, and there's another one
    http://jp.jixor.com/plugins/static-page-extended/
    that uses external files as frontpages or some such.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags