Support » Fixing WordPress » Category Older Posts Link Broken

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

    (@esmi)

    Forum Moderator

    Have you tried resetting your custom permalinks back to the default setting via Settings -> Permalinks? If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    Do the category pages use a custom query?

    Hi Esmi — I have this in my theme’s index.php:

    if ( is_home() ) {
    query_posts($query_string . '&cat=-18');
    }

    I think the issue is certainly permalinks. On default, the older / newer links worked fine:

    http://www.retroland.com/?cat=3%2F&paged=2

    Returning to what we normally use, %category%, causes the link to become:

    http://www.retroland.com/toys/page/2

    which doesn’t work.

    Thanks for the tip… any ideas on resolution?

    Thanks again,

    Matt

    esmi

    (@esmi)

    Forum Moderator

    Try:

    if ( is_home() ) {
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts($query_string . '&cat=-18&paged=' .$paged);
    }

    I’m also having a similar problem. If anyone has any ideas (I’ve read page after page on fixes, but nothing’s working), I’d appreciate it.

    http://www.mileskahn.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category Older Posts Link Broken’ is closed to new replies.