Any and all advice, guides, and reviews are unbiased and based on my personal experience. If you buy through affiliate links, I may earn commissions, which helps support my website. This does not have an impact on posts or my opinion of any reviewed products. If you find this post helpful and want to say thanks, please buy me a coffee or take a look at my book on Amazon. It keeps this page ad-free. Thank you!
Is WordPress giving you a 404 error on category pages and paginations, especially when you go to Page 2, etc? This is a bug in WordPress that only seems to only occur if you use the permalink structure of /%category%/%postname%
This bug was driving me crazy, as I tested enabling/disabling plugins, clearing page caches, resetting permalinks, rolling back my WordPress version, without success. The fix is easy, but make sure you backup your WordPress site before installing,
That all said, I take no responsibility if it breaks things for you, all I can promise is it worked for me.
Tested! Works! Fix the WordPress Pagination / Page 2 404 Error
The solution is to install this plugin, and your problem will be solved. It’s quick and easy and this will fix WordPress 404 page 2 issues, and also next post bugs. It’s working on the latest version of WordPress without any conflicts for me, so it should work for you.
Why does the WordPress pagination bug occur? It’s because for WordPress, a URL like this: * /categoryname/page/2 sees the URL “page/2” and thinks it’s a post named “page/2”, not keywords “page” and “2” for pagination. You don’t get the error on the first page because it’s simply /categoryname/ and there’s no page/1 in the URL.
I have also added a local copy of the plugin here in case WordPress removes this fix from their site (as the plugin doesn’t seem to be maintained anymore). Just download the WordPress pagination plugin, upload and activate it on your site. No code to edit, nothing else to do. Although I would clear any WordPress plugins that cache your website, just to push through the change (and please, a reminder, backup your WordPress before you install – just in case it does break something for you – even though it has worked 100% of the time for me.
Hope this helps someone else!
Any and all advice, guides, and reviews are unbiased and based on my personal experience. If you buy through affiliate links, I may earn commissions, which helps support my website. This does not have an impact on posts or my opinion of any reviewed products. If you find this post helpful and want to say thanks, please buy me a coffee or take a look at my book on Amazon. It keeps this page ad-free. Thank you!