WordPress.org

Forums

Category Pagination (8 posts)

  1. gaara
    Member
    Posted 7 years ago #

    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.

  2. mendezki
    Member
    Posted 7 years ago #

    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.

  3. leoparada
    Member
    Posted 7 years ago #

    ...the same problem :(

  4. laxcat
    Member
    Posted 7 years ago #

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

  5. Fortes
    Member
    Posted 7 years ago #

    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.

  6. sailboatvn
    Member
    Posted 6 years ago #

    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)

  7. jimmiejo
    Member
    Posted 6 years ago #

    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.

  8. Lionel Chollet
    Member
    Posted 6 years ago #

    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!… :-)

Topic Closed

This topic has been closed to new replies.

About this Topic