how to hide category in url? (mod_rewrite)
-
hi all. i’m setting up wordpress and i’d like to do something like this:
lets say my website is “https://www.a.com” and i have two categories “b” and “c”
currently they show up like “https://www.a.com/category/b/” and “https://www.a.com/category/c/”
but i would like them to show up like “https://www.a.com/b/” and “https://www.a.com/c/”
what rewriterules should i add to my .htaccess to have this happen? (i’m good with regular expressions but i’m unfamiliar with mod_rewrite and how to script it. thanks!)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘how to hide category in url? (mod_rewrite)’ is closed to new replies.