Removing Categories from WordPress URIs


WordPress icon.

A few months ago I lampooned WordPress for it's need to have the term "category" appear within every category URL. It appears I'm not the only one who found this irritating.

For me I wanted to merge all my disparate nonsense blogs into one meta nonsense blog ( which would be easier to maintain, then use categories with their own CSS to make them still appear separate. A shrewd, devilish cunning plan worthy of Baldric himself, but alas having the term "category" in all the URis spoilt the illusion.

Original blogs Ideal new sub-URI WordPress illusion screwup
Rubenerd Show /show/ /category/show/
Fun Facts /nonsense/ /category/nonsense/
Intranet /anime/ /category/anime/
Studies /studies/ /category/studies/

Fortunately having played with and been disappointed by so many plugins in the past, I've finally found one that works so beautifully I'm thinking of sending the writer a grilled cheese sandwich: the adeptly-titled WP No Category Base. Not only does it work right out of the box, but it also redirects your previous category permalinks which means you don't need to mess with .htaccess files. A beautiful, elegant solution!

As the name suggests this plugin will completely remove the mandatory "Category Base" from your category permalinks ( e.g. "" to "".

The plugin requires no setup or modifying core wordpress files and will not break any links.

Now I can finally start to import all my other posts. Apparently the anime category gets the most hits here anyway despite it having nothing of value in it! Crazy, grilled cheese sandwich stuff.

I've already figured out how to exclude certain categories from certain places so they act like separate sites with their own styles and whatnot, now I just need to work out the feeds. I know WordPress allows you to generate separate RSS and Atom feeds for different categories, but how do I customise them? For example, add iTunes information to the Rubenerd Show category feed, but not any others.

If I spent as much time blogging and talking about interesting topics on my blog and podcast as I did blogging and talking about blogging and talking, I'd get much more blogging and talking done on my blog and podcast. Wait, what?

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.