WordPress.org

Support

Support » How-To and Troubleshooting » prev and next links at end of blog produce 404 errors constantly [pagination]

prev and next links at end of blog produce 404 errors constantly [pagination]

  • Hi,
    I have site where the links to previous and next posts at the bottom of the blog pages does not work. I get blank white pages.

    http://www.website.com/blog/ – displays the blog properly

    http://www.website.com/blog/page/2/ – gives me a white content area with the prev/next links at the bottom.

    These are the things I have done to date to try and get the pagination to work properly:

    • Turned off all plugins (no help)
    • Put Theme to default (2011) (WORKED)
    • I set “Settings/Reading” to “Your latest posts” (no help)
    • I set “Settings/Reading” to “A static page” (no help)
    • I set the “Blog” page to default, and archive template (no help)
    • I’ve updated my Permalinks several times
    • I’ve deleted my htaccess file and created a new one from scratch
    • I’ve confirmed that mod_rewrite is active on my Apache server

    It seems to me that it would point to my theme, but I’ve used this theme on other websites and haven’t had the issue.

    My htaccess file looks like this:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    AddType x-mapp-php5 .php
    AddType audio/x-m4a .m4a
    AddType audio/x-m4b .m4b

    Any suggestions or insight are greatly appreciated.

    Happy New Year!

Viewing 2 replies - 1 through 2 (of 2 total)
  • do you have setting on your theme how many post display on blog page. if you have that setting then go to go to wp-admin/options-reading.php

    then set Blog pages show at most to that no which you set on your theme your problem will solve.

    Thanks

    @Pankkaj Brilliant!
    It worked beautifully.
    Issue resolved.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘prev and next links at end of blog produce 404 errors constantly [pagination]’ is closed to new replies.