Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Solved it!

    The error was caused by me having /journal also set as the category base, which is the option below the Custom permalink structure settings.

    so I now have my permalinks as:

    /journal/%category%/%postname%/

    and my category base:

    /archives/

    Works like a charm!

    Thread Starter benbarber

    (@benbarber)

    Solved it!

    The error was caused by me having /journal also set as the category base, which is the option below the Custom permalink structure settings.

    so I now have my permalinks as:

    /journal/%category%/%postname%/

    and my category base:

    /archives/

    Works like a charm!

    I am having the same problem, I am running the latest version 2.1.2 and want my permalinks as:

    /journal/%category%/%postname%/

    But this is not working for me I get a 404 error when I follow a url.

    /%category%/%postname%/ works fine though?

    Thread Starter benbarber

    (@benbarber)

    OK Your right.. but what I was after is having my blog located in its own section ie mydomain.com/blog and not having the blog as the main page for which I am using a home.php template.

    Anyway this problem is now solved. many thanks to Kafkaesqui for the link to the infromation.

    All I had to do was add $more = 0; to my blog.php page tmeplate file so it now looks like this:


    <?php
    /*
    Template Name: Blog
    */
    ?>

    <?php

    query_posts('cat=-0'); //gets all posts

    $more = 0; // Enables the More tag to function within page

    load_template( TEMPLATEPATH . '/index.php'); //loads index

    ?>

    Creating a new page called blog and selecting it to use this blog.php template, will enable the page to act as your main blog showing all post and the more tag working properly.

Viewing 4 replies - 1 through 4 (of 4 total)