Remove Category Base from WordPress Permalinks

yellow and red fall leaves
Leaves by Petradr from Unsplash.com


WordPress adds a base of /category/ to the all the category archive permalinks. This means that your category links look like this:
http://example.org/category/uncategorized/

For the most part, that’s a good thing. If a category and post or page have the same slug, they won’t interfere with each other. But sometimes you need something else, so this tutorial shows you how to change the category base or remove it.

Change the Category Base

add category to wordpress permalinks


You can change the /category/ base to be something else, like /topics/ or /articles/ or whatever you like.

  1. Go to Settings > Permalinks
  2. In the Optional section, find Category base and add whatever you like there.
  3. You can edit the Tag base there too.

Remove the Category Base

But there are times when you would like to remove the Category base altogether for your Category archive page URL. I prefer this when using a custom WordPress permalink structure of
/%category%/%postname%/

There are several plugins that will do this for you:

Flush Permalinks

Be sure to flush your permalinks each time you make changes to your WordPress URL structure. It’s not always needed, but can help.

Go to Settings > Permalinks; click Save Changes.

Which Is Best For You?

You If you use WordPress SEO, that’s probably best for you.

The WPMUdev method works well most of the time.

The WP No Category Base plugin hasn’t been updated in awhile, but still continues to work well.

If you have another method, please let me know!

You can have a beautiful, hardworking website for your small business.

Tell me about your website project for a personalized solution!


Do you need website tips?

Sign up to get easy-to-use WordPress tutorials, Genesis theme customizations, and other helpful tips for your small business website.

Your email address will be used to send you blog posts. Privacy Policy


Comments

9 responses to “Remove Category Base from WordPress Permalinks”

  1. Jonny says:

    If you don’t want any category at all you can use this method.
    Select Custom Structure in permalinks and add /%category%/%postname%/ after your domain. Adding “/” to the category base doesn’t work, you have to add a period/dot. I wrote a tutorial for this here: http://jonnyjordan.com/blog/how-to-remove-category-from-your-urls-in-wordpress/

  2. Armin says:

    Just FYI that plugin missing now… have new one:

    https://wordpress.org/plugins/remove-category-base-littlebizzy/

Leave a Reply

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