Category Older Posts Link Broken (5 posts)

  1. mwsmedia
    Posted 4 years ago #

    Hi gang. Over at http://www.retroland.com, we're having issues with "Older Posts / Newer Posts" working correctly on Category pages. The issue is very simple: clicking, for example, http://www.retroland.com/food/page/2/ results in being returned to the Home page.

    I've eliminated potential plugin issues, so that's not it. Any ideas?

    Happy to provide more info if necessary... thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    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?

  3. mwsmedia
    Posted 4 years ago #

    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:


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


    which doesn't work.

    Thanks for the tip... any ideas on resolution?

    Thanks again,


  4. esmi
    Forum Moderator
    Posted 4 years ago #


    if ( is_home() ) {
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts($query_string . '&cat=-18&paged=' .$paged);
  5. phisto
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic