Forums

Separating Pages and Blog (5 posts)

  1. revlimiter
    Member
    Posted 8 months ago #

    Can anybody tell me how to do the following on a WordPress 2.7 blog? I'm not sure if this is a bug with WordPress at the moment or what, but I can't seem to get the following working no matter what I try:

    Pages:

    home "/"

    about "/about/"

    contact "/contact/"

    Blog:

    blog "/blog/"

    blog pagination "/blog/page/2/"

    blog posts "/blog/posttitle/"

    blog search "/blog/search?searchterm/"

    I hope this makes sense.
    The pages work fine, but when I goto reading settings and click display static file as "homepage" it breaks everything.

    The homepage seems to really be the issue when having the blog in a "/blog" directory...

    Any help is greatly appreciated.
    Thanks!

  2. RoseCitySister
    Member
    Posted 8 months ago #

    You have to move your index.php (editing it to include the /blog/ folder) and .htaccess file to the root.

    At least I think that's what you're trying to do, right - have your site index separate from the blog itself?

  3. revlimiter
    Member
    Posted 8 months ago #

    thanks for the reply RoseCitySister,

    so just to get this straight, you are suggesting i move my theme's index.php file into my root (public_html) folder? because there is already an index.php and .htaccess in root...

    wordpress was installed in the root directory of my website, maybe that's the problem. should i have installed it in the /blog/ directory? and if i do that, will i still have control over the pages "about" & "contact"?

    thanks!

  4. RoseCitySister
    Member
    Posted 8 months ago #

    If you want a blog in your blog directory, yes, you should do that. You can set the URL of your blog in Settings. I did a blog like this for a client and used friendly URLs and the URLs came out like that i.e. http://url.com/about/ was the URL for the About page.

    If I were you I would carefully read over Getting Started in the Codex. You can find just about everything you need to know there.

  5. Chris_K
    Administrator
    Posted 8 months ago #

    As an aside... you can have WP installed in the root but then do custom Permalinks that include /blog/ in them to make it seem as though the posts are in a different area or directory.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.