Update (07 December 2011) : An update has been made to the plugin and is available for download from WordPress plugins directory. This will fix pagination on custom post types as well.
Plugin name : Category pagination fix
Release date : 2009-04-25
Fixes the bug in WordPress 2.7 ( may be in lower version also) in category listing page pagination. When you are using permalink structure as %category%/%postname% , second page URL of category listing page will be category-name/page/2 which WordPress identify “page” as post name. And will return 404 error page. This plug-in will fix the issue. This also fix the next and previous buttons bug in while using custom permalink structure.
I’m using this plug-in for this blog itself 🙂
1 . Unzip into your /wp-content/plugins/ directory.
2 . Activate the plugin through the ‘Plugins’ menu in WordPress
No issues reported yet. Please report issues in comments
View Comments
i have the same problem, i ever oploat end activated but the problem no fixed.
help please
You are great!!!!!
Awesome info once again! Thanks!
Same Problem here with WordPress 3.2 WP, "No Category Base" and "WP-PageNavi" plugins installed :(
I'm so disapointed, I was so close to the Perfect URL Structure for SEO :P
Can someone fix this? :( It would be greatly appreciated :)
nvm my problem is fixed with putting /%slug%/%postname% instead of /%category%/%postname%
or maybe I did something else but now it Works :)
Having the same problem with 3.2.1.
I tried changing to using /%slug%/%postname% which stopped the 404 & worked OK for categories, but the actual post URLs now include the actual text "%slug%" rather than the suitable replacement.
I think have solved this one though... if you change all references of "$query_string['name']" for "$query_string['pagename']" it seems to do the trick.
Awesome!!! Changing permalink structure like you wrote helped! Thank you.
Hello,
I am using wp 3.1.1 and I set Permalink to /%postname%/.
Since some days to click to categories get to the 404 error.
If I click to the post itself, it works.
I tried many suggestions around the net (including rewriting of the .htaccess) but it doesn't work.
I tried your plugin too and it doesn't work...
Do you have perhaps some other idea ?
Thanks to help me.
Best regards
Fajy
I have the Bold theme by elegant themes and this fix didn't work for me. Secondary pages still don't appear. Please help.
Hi, thanks Remiz.
It's possible that work fine in subcategories?
.
Cheers
Yes it works fine i think.
I've recently installed the plugin on my WP 3.0.4 site. I am still getting the 404 error on page 2 or above of my custom post type archive page. I don't have any pages named the same as my post type so I'm not sure what else could be causing the issue.
Could you suggest any other solutions?
Thanks.
Paul
This plugin seems to have issue with Custom post types. I will try on it over free time. Let me know if you got it fixed. I will upload to wordpress plugin directory so that everyone can use it
It is not working for me.
I need to make a pagination for category page.
Please have a look into plugin and let me know if you can help me.
BOSS!! Thank YOU!
You'r welcome :)