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.
mendezki
Member
Posted 1 year 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.
leoparada
Member
Posted 1 year ago #
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.
sailboatvn
Member
Posted 1 year 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)
jimmiejo
Member
Posted 1 year 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.
lionel_chollet
Member
Posted 1 year 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!… :-)