There’s now a great plugin for this!

See WP No Category Base to download and install the plugin. It does all that the hack below does, but better, and instantly.

In fact, I did have some issues with the hack after upgrading Wordpress, so found this plugin instead.

So this one’s been a killer for a long time: you can hack Wordpress in several ways to remove /category/ from the URL, though pagination and all sorts of other nasty side-effects arise.

Anyway, it’s finally been done – you can now remove /category/ from Wordpress URLS, maintain pagination and everything else!

In fact, the fix even writes out /category/ when generating category links through get_the_category or single_cat_title: instead of just redirecting it afterwards as other hacks have done.

So here it is:

Remove the Category Base from Wordpress

If only I’d found this when he first posted it 12 months ago …!!

Enjoy!