How To Remove /Category/ From WordPress Category URL

Posted by

Hi,

WordPress Categories permalink by default adds /Category/. In order to remove it from the permalink settings of category, you need to first backup your .htaccess file. After that open it and add this code:

RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L]

Now, If your categories page default URL is:

http://www.bestwpthemez.com/category/

Once you save above code in htaccess, it will be set at:

http://www.bestwpthemez.com/

That’s it!

Thanks,

Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.