If you wanted to be able to finally remove the useless /category/ from your WordPress categories permalinks? If yes, read on and get ready to hack your .htaccess file!

WordPress category permalinks are displayed that way:

  • http://www.domain.com/blog/category/wordpress

As you can see, the category in the url is pretty useless. Here’s how to remove it:

First backup your .htaccess file. Then, open it and append the following line:

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

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

  • http://www.domain.com/blog/wordpress

Like it?

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

1 × 2 =

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

You May Also Like

20+ Cool WordPress Slider Plugins

For WordPress website owners WordPress slider plugins is a great way to feature content like images, videos etc. on e.g. front pages where the space is limited. Slider typically work as a stack of preloaded content that transition in and becomes visible for the visitor. There are many ways to do this and often cool animated transitions are used to catch the attention of the visitor.