WordPress.org

Ready to get started?Download WordPress

Forums

Next Page 404 Error /page/2/ (6 posts)

  1. ad9f30
    Member
    Posted 5 years ago #

    From looking at the forum, It appears I have the same problem as many others with the "Next Page >>" on a page full of category posts. I've seen various answers but they fell into one of two camps: 1) I don't understand them, or 2) I tried them and they don't work.

    Here is a real world example of what is happening on my blog

    For example:
    http://www.everydaychristianity.com/guitar-tips/

    When I scroll to the bottom and click on "Next Page >>" I get a 404 error (I've changed it to read "End of Articles" but it's not!)

    The URL shown is:
    http://www.everydaychristianity.com/guitar-tips/page/2/

    My custom permalink structure is:
    /%category%/%postname%/

    Can anyone out there take a look at my specific situation and suggest a solution?

    Thanks.

  2. kingstakh
    Member
    Posted 4 years ago #

    how you do it? I have this problem to

  3. Mark / t31os
    Moderator
    Posted 4 years ago #

    You need to add $paged to the query_posts line..

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts( $query_string . "&paged=$paged" );

    If you had searched you'd not have needed to ask, this is a very common question.

  4. kingstakh
    Member
    Posted 4 years ago #

    where add it?

  5. kingstakh
    Member
    Posted 4 years ago #

    all simply, just go to admin panel .... Settings > Reading ... change the Blog Pages Show At Most setting to 5.

  6. dsided
    Member
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic