How to Remove /category/ from your WordPress Permalinks?

Posted by

How to Remove /category/ from your WordPress Permalinks?

By default, WordPress category permalinks are displayed that way:

http://www.yourblog.com/category/wordpress/

However, you can remove the category word from this URL.

First backup your .htaccess file. Then add the following line:

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

Once saved, your categories pages will be displayed like this:

http://www.yourblog.com/wordpress

Leave a Reply

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