Hello,
I want to make a category path with pagination. URL's would be as followed;
All paths should work with or without trailing slash (if possible)
/category/entertainment-and-music/ /category/entertainment-and-music/music/
(represents "music" category "under entertainment and music")
/category/entertainment-and-music/5/
(represents 5th page for "ent. and music")
/category/entertainment-and-music/music/5/
(represents 5th page for "ent. and music/music")
I tried something like that but doesn't work
RewriteRule ^category/(.*)/? /category.php?slug=$1&page=1
RewriteRule ^category/(.*)/(.*)/? /category.php?slug=$1&page=$2
How can I do something flexible like that?
Thanks in advance...