Support » Fixing WordPress » Page Not Found Error – Can not go past page 13

  • Resolved shaviw


    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:
    This is what it looks like once you go to page 13 and beyond:

    Screenshot of when 404.php is removed:

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

    Let me know what you guys think


Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Page Not Found Error – Can not go past page 13’ is closed to new replies.