Menu

TIP: How To Remove Category From Your WordPress URL

There are two types of WordPress users out there- those that think its default permalink structure is fine (or don’t know/ care what that is), and those that are really annoyed by having the word ‘category’ mess up an otherwise perfect URL.

I’m referring to the default permalink structure:
“www.myawesomesite.com/category/my-awesome-blog-post”

…versus the easier to read and more attractive version:
“www.myawesomesite.com/my-awesome-blog-post”

If you’re like me and you fall into the second group, there’s a really easy way to fix this, and get your URLs looking just the way you want them to.

You have two easy options via free WordPress plugins, and I will explain how to configure them here.

First off, if you’re using WordPress SEO by Yoast (and I suggest you do), this is a built in option. After you’ve installed and activated the plugin, the option you’re looking for is under SEO > Permalinks, as shown below.

wordpress-seo-permalinks

The very first option at the top is “Strip the category base…”, and you’ll want to check this box. Scroll further down that page, click ‘Save Settings’, and you’re done. Couldn’t be easier.

wp-seo-remove-category

What If I’m Using A Different SEO Plugin?

If the SEO plugin you’re using doesn’t have the ‘strip category base’ option, don’t worry- there’s a separate plugin that does just that.

WP No Category Base will do the trick. Just install and activate the plugin, and bam! No more /category/ in your URL.

wp-no-category-base

It’s worth mentioning that having the category base in your URL to begin with doesn’t affect SEO, and whether or not you decide to keep it is your personal preference. And the plugin will redirect your old category permalinks to the new ones, so you don’t have to worry about search engines losing track of your pages.

Have you found another easy solution that should be added to this list? Let me know in the comments below!

Leave a Reply

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