• I didn’t see another post about this, but if there is one please redirect me. Thank you.

    After updating to 4.3 pagination on the blog of our site has broken.

    Visiting /blog/page/2/ returns a 404.

    My theme is just using the if have_posts() while have_posts() loop. But I have ruled out the theme by trying the twenty-fifteen theme and the 404 persisted. The only thing that has worked so far is returning to standard permalink.. but we’d like to keep our custom structure.

    Here is what I’ve tried so far:

    • Switching to a different theme. I tried the twenty-fifteen theme and the error persisted
    • Deactivating plugins, by renaming plugin folder. Error persisted
    • Turning off Bulletproof Security and restoring the default htaccess file. Error persisted
    • Flushing W3 caches. Error persisted

    I was able to get it working by going back to default permalinks. However, we want to use /%post-name%/ and returning to this causes the 404 again.

    As far as I know nothing has changed with the server, but we host with Hostgator so who knows… It seemed to be working before updating to 4.3, but maybe it had broken at some point prior to the update and I just didn’t realize.

    I feel I’ve ruled out the theme, plugins, htaccess rules. I’m not sure what else to check.

    Any help would be appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Generally speaking, this is simply an .htaccess issue. What are your .htaccess rules?

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Hi Samuel,

    Thank you for replying.

    I use Bulletproof security which sets a bunch of rules.

    However, I did try reverting back to the standard htaccess and the error persisted.

    Still doesn’t work with these htaccess rules:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Also, other permalink are working fine.

    It’s just the pagination that’s having problems.

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Is there any additional information I can provide?

    I’m really stumped and the help is greatly appreciated.

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Anyone have any ideas?

    I’m happy to provide additional information if needed.

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Looking into this it seems it isn’t a 4.3 issue. I just noticed it after 4.3.

    If we switch the site back to Blog as front page, the pagination works.

    But with the blog set to static home page, the pagination works.

    Thread Starter Keith Aldrich

    (@keith-aldrich)

    Okay. Finally figured it out!

    Our blog is at /blog/

    We had Category Base set to blog. We did this because we wanted category URLs as follows /blog/the-category/

    This was causing 404 at blog/page/2

    For now we’ll just use the default category base.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blog Pagination Broken with 4.3. 404 Not Found on /blog/page/2/’ is closed to new replies.