HTML Remix - Dont copy code, remix it!

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

Download

Category pagination fix 1.o


32 Responses to “Category pagination fix – WordPress plugin”

  1. Alex says:

    This works great. Saved me a ton of time. Thanks so much.

  2. 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!

  3. AJ Quick says:

    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?

  4. Sam Neirynck says:

    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?

  5. Sam Neirynck says:

    Is there a bugfix for WordPress 3.0 available yet?

  6. 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 :)

  7. 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

  8. 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?

    • Remiz says:

      @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

  9. Brilliant, fixed! The bug is still here in wordpress 3.0

  10. AJ Quick says:

    Works great in 2.9.2

  11. Scott says:

    That bug has plagued me for ages!! Thanks for the nice clean fix. I just added it to my functions.php file and presto.

  12. Darfuria says:

    Great! Thanks for this.

  13. Levi says:

    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

  14. Duality says:

    thanks sir,this plugin solved my problem

  15. Rob says:

    A million thanks to you Sir! This problem has been bugging me for months and this plugin fixes it. Seriously, thankyou.

  16. tekstyle says:

    didn’t fix my problem. still 404 ((
    http://tekstyle.me/page/2/

  17. Corey says:

    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!

  18. Kelly says:

    Is this plugin necessary for WP 2.7.1, or just for 2.7?

  19. Corey says:

    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

    • Remiz says:

      @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

  20. baron says:

    Works great, thank you

  21. 11 Awesome WordPress Plugins That I Use - Fantastic Web Design
  22. Category pagination fix – Wordpress plugin | HTML Remix | WordPress News
  23. Plugin behebt Wordpress Permalink - Problem » BrasilOnline Newsblog » BrasilOnline NetSolutions
  24. My first Wordpress plugin | HTML Remix

Leave a Reply

Subscribe via email

HostedFTP
WebCastle

I’m promoting

Advertise here