WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Not Found Error - Can not go past page 13 (2 posts)

  1. shaviw
    Member
    Posted 1 year ago #

    This happened all of a sudden while I was updating my site with feature images for all the posts, since I just updated my site with a new style.

    Basically I can go to pages 1 to 12 and view all those posts, but once you get to page 13 and beyond it says the page is not found.

    I removed the 404.php and I was able to view the posts from page 13 and beyond, but the top browser bar still says page not found. Right now this is with 404.php still in the server.

    I tried putting my permalinks to default, deleting the htaccess file, and returning the permalinks to how it was. Nothing changed.

    This is site and page 12 how it should look: http://royal-origin.com/page/12/
    This is what it looks like once you go to page 13 and beyond: http://royal-origin.com/page/13/

    Screenshot of when 404.php is removed: http://imageshack.us/a/img37/4884/errc.jpg

    Also notice that the background image/slider does not appear anymore.

    Let me know what you guys think

    Thanks

  2. myno
    Member
    Posted 1 year ago #

    I had the same problem and since the OP did not post his solution here is what was the problem in my case and how it was solved:

    I am using a custom posts_per_page value in query_posts() for my different categories (for news 5). In the wordpress options the setting for Blogs shown at most (Settings->Reading) was set to 10 (standart).

    At this point I had exactly 120 posts. 120/10 -> page 12 and for some reason WordPress thinks that's the end of the news and does not show any more pages even though there should be more with the posts_per_page=5 value.

    Simple solution is to set the Blogs shown at most to 1 or the least value you have in use (in my case 5).

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic