For managing content, Categories plays a vital role to put content into the similar topic. By default, WordPress will create a not-so-good-looking slug for category:
http://yourdomain.com/category/category1
Sometimes, when using WordPress as CMS, this looks so unprofessional. A better category slug for the category should be:
http://yourdomain.com/category1
While there are some folks suggesting to tweak the .htaccess file, I find a better and easy way to remove the /category/ for category slug.
Introducing WP No Category Base plugin.
The plugin works out of the box, no settings required. The great thing is it will take care of redirecting your old category links to the new ones, so it won’t leave your site with all those 404 Error Not Found links.
Features (as stated on the plugin page) :
- Better and logical permalinks like
yourdomain.com/my-category/
andmyblog.com/my-category/my-post/
. - Simple plugin – barely adds any overhead.
- Works out of the box – no setup needed.
- No need to modify WordPress files.
- Doesn’t require other plugins to work.
- Compatible with sitemap plugins.
- Works with multiple sub-categories.
- Works with WordPress Multisite.
- Redirects old category permalinks to the new ones (301 redirects, good for SEO).
So, go ahead. Install and activate the plugin for a better-looking category archive page.
Leave a Reply