April 25, 2009
Category pagination fix – WordPress plugin
Plugin name : Category pagination fix
Release date : 2009-04-25
Description
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
Installation
1 . Unzip into your /wp-content/plugins/ directory.
2 . Activate the plugin through the ‘Plugins’ menu in WordPress
Known issues
No issues reported yet. Please report issues in comments



This works great. Saved me a ton of time. Thanks so much.
How about pagination error in the posts. My category pagination is working fine, but I’m having problem with the post pagination. Our blog is located here – http://www.lamandier-maroc.com/blog. The next page link /blog/index.php/page/2 is returning 404. Have you had some issues regarding this before? It’s on WordPress 2.7 by the way.
Thanks!
Unable to use search function on pages.
Example:
/category/page/?s=search+terms&searchbtn=Go
If there are no results it will display the no results page.
If there are results it will just display the page you are on as if nothing happened. Might be related to this plug-in?
@ AJ
Will check in to this on weekend. Keep watching the space
Thanks for reporting
Hello, I’m still having troubles. I”m using 2.9.2, but the issue is still there.
I downloaded the plugin, put it in the /plugins directory, activated it, but I still get the 404 message.
Any help please?
Ill check in to it this Sunday
. Havent checked WP3 yet !
@Sam : You need to activate the plugin from the back-end. Have you done it? Let me know for help
Is there a bugfix for WordPress 3.0 available yet?
Sorry should have read the comments before posting as I can see you’ve replied.
To answer you’re question, using the plugin it gives me a 404 for news category on any page beyond p1, so /news/page/2/, /news/page/3/ etc don’t work. Funny that it works ok for blog category.
Ps. subscribe to comments on the blog would be great, as would edit comment
@John : I tried with WordPress 3 and it is working fine here! List me plugins you are using.
This worked for the blog category, but when I had a new category it stoppped working (ie page 2 was 404).
WordPress 3
Similar problem to @corey
In WP3 this works for the category ‘blog’, but for category ‘news’ it breaks. pagination says: /news/page/4/ – same as for blog. Grrr. Any ideas?
@John : I havent tried this on WP3. Is it working?
You said “In WP3 this works for the category ‘blog’, but for category ‘news’ it breaks. ” Is it after using this plugin or without ?
Also, pagination URL you sent is /news/page/4/ is /news/page/2/ working. I should wait till this weekend to get my hands on WP3
Brilliant, fixed! The bug is still here in wordpress 3.0
Yea, it seems so. But this plugin fixes it na?
Works great in 2.9.2
That bug has plagued me for ages!! Thanks for the nice clean fix. I just added it to my functions.php file and presto.
Great! Thanks for this.
Tried your plugin on my local dev site, and it got rid of the 404 error but now page 2 is blank this is what im using for the loop is it correct
@Levi : Please send the url. So that I can check what the issue is
thanks sir,this plugin solved my problem
A million thanks to you Sir! This problem has been bugging me for months and this plugin fixes it. Seriously, thankyou.
didn’t fix my problem. still 404 ((
http://tekstyle.me/page/2/
Remiz,
Thanks for the suggestions! It was the URL slug and the symbols conflicting. I don’t know if I ever would’ve noticed that otherwise…
Thanks again!
Is this plugin necessary for WP 2.7.1, or just for 2.7?
Plugin has fixed my problem! ….sort of. Now I have multiple pages and they don’t report the error (thanks to the plugin working), but now the first post of each page is reporting an error. The rest of them work.
Take a look here:
http://insighteastorlando.com/wordpress/index.php/past-articles/health-care/page/2
@Corey
I’ve checked your website. I guess it might be conflict with any other plugin, or I’ve noticed that the url slug of first post of both page contains ” or ‘ symbols, which may be making issue. Try the same url disabling this plug-in, and check by activating the same by changing the slug
Same scenario is working fine here http://www.htmlremix.com/google/page/2
Thanks for reporting issue
Works great, thank you