How To Remove “Category” Base for WordPress Categories

Written by Pavan Kumar on May 27, 2009

Advertisements

If you are a WordPress user, you have observed that the WP categories pages are normally using the "category" / any other (configurable) base term to show pages. It is never the category directly after the home page url. In simple words, your category page is example.com/category/cars and not example.com/cars. Most of us like to see the second type of url format, but WordPress by default won’t give any option to switch to this.

wordpress hacks

There are few things to be known with these url structures.

Advantages: Easy to remember and type urls, Google "may" give more priority for them while considering for sitelinks [not proved, but I say this by observation] which is really better than some Disclaimer, Privacy, About pages ranking on sitelinks.

Disadvantages: May be clash when the page with same url exist. Say you have a category “My Cars” and a page with same name “My Cars”, if  your permalinks are set like mine, there will be a clash. I think considering this, WP don’t have such option by default.

If you are sure that your blog does not have such clash, you are free to use the second type of category urls. To delete Category/ from wp categories, install and activate WP No Category Base plugin. There are no extra setups in plugin, nor there are any hassles using it. It also works for sub-categories and sitemaps.

Update: Harsh pointed out the problem with this plugin. You will need to have either Redirection Plugin or Platinum SEO plugin to carry redirects to proper pages as your category urls are changed.

       

Subscribe to RSS Feed or Get updates on your inbox:

People who liked this also read:

2 Readers responded to this post

I was reading about this plugin the other day but most of reviewer suggested to install redirection plugin along with it, So I’m kinda suspicious installing this plugin because with one plugin another plugin is coming free for my wordpress blog

@ Harsh
LOL :D You are right about this. I forgot to mention about that. But if I install that on my blog, I don’t require it because I have platinum seo plugin which takes care of all permalink redirections. Even when I removed my Global Translator plugin, I did not lose traffic because of Platinum SEO Plugin.

Leave Your Comments Below / Trackback

About The Author

    Pavan Kumar

    Pavan Kumar completed Engineering in Electronics and Communication in the year 2008. He is very enthusiastic and keen to work on different aspects of computer, internet and mobile related fields. The articles here reflect his creativity. This blog was started as a showcase of solutions for different problems and today it has got a good reputation in the blogosphere. Read More...

© 2014 - TechPavan.com. All rights reserved.

All content provided in this site are the property of TechPavan.com and is free for non-commercial usage. Read our Privacy Policy here.

Any kind content on this site cannot be reproduced in any form without permission of the author. We are not responsible for any loss or damage which may occur due to any of our content.

Site hosted on Bluehost powerful servers.