Support » Plugins and Hacks » Category Pagination

  • Hello,
    I’m using the top-level-cats.php plugin to remove /category/ from my URLs, but now when I goto: categoryname/page/# I get an error.

    e.g.
    /catname/page/2 DOESN’T WORK
    /catname/?paged=2 WORKS

    I’ve tried doing a mod-rewrite to fix these jabroni URLs but surprisingly it never worked: RewriteRule ^bleach/([0-9]+)?$ /bleach/?paged=$1 [L] – I got the same error as mentioned above from this. 🙁

    I’m pretty certain this problem has been asked many times before and possible been fixed? Could someone help me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The same problem (as with all category base removal stuff) happens to my test install with this plugin. However, on sub-categories pagination seems to work just fine.

    …the same problem 🙁

    Same problem. I’ve been unable to get anything to work.

    If you’re using a permalink struct that is /%category%/%postname%/ or %postname%, then the plugin won’t work. It only works with numerical / date permalinks.

    yes, i am getting the same problem for pagination 🙁

    Also “fil”, with permalink structure /%category%/%postname%/ it will get “404 – NOT FOUND” if you create a post name is a number( for example 12 etc)

    If you use the following it’ll work for you:

    /%category%/%postname%.php

    This is the only method that seems to work in removing /category/ from your permalinks and/or use the Top Level Categories plugin.

    Give that a try.

    Another workaround for the category pagination 404 error is to set the permalink structure like this:
    /%category%/_what_you_want_%postname%
    where “_what_you_want_” may be:
    article
    article/
    article-
    post
    post/
    post-
    er, well, what you want!… 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Category Pagination’ is closed to new replies.