• Hi,

    I want my blog to be placed at /blog and then all the pages to be normal e.g. /about opposed to /blog/about.

    i noticed you can change the path of the blog to /blog but it does pages and everything too. so a page would be /blog/about.

    any help appreciated ??

    dave

Viewing 4 replies - 1 through 4 (of 4 total)
  • Might want to review Moving WordPress.

    Thread Starter daver89

    (@daver89)

    Read through that but it doesn’t seem to do what i want exactly. let me try and explain it better.

    i haven’t got a wordpress blog yet, i am want to set one up like the following and i think all of those relate to moving and changing directories etc.

    my url is https://www.daveredfern.com

    by default that would show the latest 10 blog posts, or just the blog.

    i want that to appear at https://www.daveredfern.com/blog. i know i can do that by setting the blog address in the admin to /blog. but by doing that it sets all the pages on wordpress to /blog too. so if i have an about page it seems to set it to /blog/about. i want it to be just at /about.

    does that make more sense?

    thanks

    dave

    Put the WordPress files and folders in the blog folder, set your Blog Address (URL) to https://www.daveredfern.com (WordPress address (URL) should be https://www.daveredfern.com/blog) and a index.php file (contents below) in your web-root folder. This is explained in Giving_WordPress_Its_Own_Directory.

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    MichaelH, at least for me that setup does not work. I am using the current svn version from today (which is between 2.3 and 2.5). I have everything configured as you suggested, i.e. my wp files are in /blog/ so ‘siteurl’ is <someurl>/blog and ‘home’ is <someurl>. In my opinion that ‘moves’ both, posts and pages, to <someurl>/permalink, right?

    But what I (and presumably also the OP) want to achieve is that blog posts are available (and permalinked) at <someurl>/blog/2008/02/post-slug while pages get URLs like <someurl>/page-slug

    Btw. when I try to access a post with /blog/ manually prepended to its URL I am getting a 404.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘changing blog path but not pages’ is closed to new replies.