How to remove /category from your WordPress URLs

by Jamie Dąbrowiecki | 1st May 2015 | Web Design & Dev | 4 comments

Featured image by Jamie Dąbrowiecki

By default, WordPress will generate /category after your domain name when you are viewing the archive for a post category.

An example mentioned on sirlinksalot goes like this: yourdomainname.com/category/sports. It can look a little ugly, and would look much cleaner if it were just yourdomainname.com/sports. Without knowledge of coding, it can seem difficult to implement this feature. However, there is an easy way to remove the text, and can be done simply by installing a plugin.

The plugin you’ll want to install is WordPress SEO by Yoast. Yoast are an excellent WordPress development company, and this plugin has been downloaded and is actively used by well over a million different websites. It’s packed full of handy SEO features, but hidden away in the Advanced Settings is the ability to trim /caetgory from your WordPress URLs!

To do so, install and activate the plugin, choose the Advanced tab, head to the Permalinks tab and check the box that says “Strip the category base (usually /category/) from the category URL”. This should then remove the /category part from your website’s URLs and you will have a much cleaner looking link!

How to remove /category from WordPress URL

‘WordPress SEO by Yoast’ offers a plethora of features

Let me know if you implemented the above feature and drop it in the comments below.

Post author

Jamie Dąbrowiecki

I am a professional website designer and developer. When I'm not creating websites, I enjoy playing video games, watching my favourite football team Manchester United and drinking tea.

4 Comments

  1. kingcool52

    Thanks for this tip. I have been looking on how to remove the category from the wordpress urls as it just makes the url look a bit ugly and can make it much longer if your post title is lengthy title. I guess it also helps with SEO

    Reply
  2. Stephanie Tuttle

    Excellent weblog right here! Additionally your website lots up fast!
    What host are you the usage of? Can I am getting your associate hyperlink for your host? I want my website loaded up as quickly as yours lol

    Reply
    • Jamie Dąbrowiecki

      I use StableHost – e-mail me and I’ll send you a discount code 🙂

      Reply

Submit a Comment

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

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