This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Pathless Category Links


This plugin will remove the /category/ base directory that WordPress adds to category links. It’ll also go beyond that and automatically 301 redirect the old /category/ links to the new, pathless category link.

Once installed, the plugin will automatically change all your category links on the website. You do not need to modify any of your WordPress themes or code.

There is also an admin panel that will let you enable/disable 301 redirects, as well as change the text to remove from the category link.

Change Log

Version 1.1 (Dec-31-2008) – Added the Update category links with pages setting to modify category links that contain /page/ to become /?paged
Version 1.0 (Dec-30-2008) – Initial release

Primary Benefits

  • Remove category base directories, /category/ by default, from all category links on the website. So, will automatically become
  • Pathless category permalinks provide improved SEO
  • Automatically 301 redirect old links, e.g., to the new pathless category permalink, e.g.

Post comments and get help on the Pathless Category Links page of my blog.


  • The settings admin for the plugin. You can easily disable 301 redirects or change the base category directory, which is /category/ by default.


  1. Upload pathless-category-links.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the Settings > Pathless Category Links section to modify plugin settings


What if other links on my site contain /category/?

You can disable the automatic 301 redirect feature via the settings. If it is enabled, then ANY link that contains the base category directory (by default /category/) will be redirected with the base category directory removed.

It’s not working?

The first thing to check is your permalink settings. Is your permalink structure /%postname%? If so, the plugin will not work because WordPress will not be able to tell the difference between a category page and a post page without the /category/ in the URL. I would recommend the permalink settings: /%category%/%postname%, which is what I use.

If your permalink settings are okay, then follow these steps.

  1. Disable the plugin
  2. Go to your category link, something like

* Is that working? If not, check your other plugins and WordPress installation as something is wrong there.
1. Manually remove the /category/ from your link and go to that URL, something like
* Is that working? If not, check your other plugins and WordPress installation
1. Once you can get the URL without /category/ working manually, re-enable the plugin and you’ll be all set.

You can also report bugs and get advice on the Pathless Category Links page on blog.

Why do my category links contain `/?paged=[0-9]`?

WordPress does not allow the following link, it only works with So, this is a work around to turn ONLY category links that have pages to be rewritten as instead.

The Update category links with pages setting in the Settings > Pathless Category Links section allows you to disable this work around. But, if it is disabled, then your links will not have the base category directory removed, nor will a 301 redirect be performed.

So, it’s up to you, do you want: or do you want

Contributors & Developers

“Pathless Category Links” is open source software. The following people have contributed to this plugin.