Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This plugin will completely remove the mandatory 'Category Base' from your category permalinks
PHP
tree: a240b57142

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
index.php
no-category-base-wpml.php
readme.txt
screenshot-1.png

readme.txt

=== WP No Category Base - WPML compatible ===
Contributors: Mines, iDope
Tags: categories, category base, category, permalinks, permastruct, links, seo, cms, wpml
Requires at least: 3.1
Tested up to: 3.1
Stable tag: trunk

This plugin removes the mandatory 'Category Base' from your category permalinks (e.g. `/category/my-category/` to `/my-category/`). It is compatible with WPML installations.

== Description ==

As the name suggests this plugin will completely remove the mandatory 'Category Base' from your category permalinks ( e.g. `myblog.com/category/my-category/` to `myblog.com/my-category/` ).

The plugin requires no setup or modifying core wordpress files and will not break any links. It will also take care of redirecting your old category links to the new ones.

= Features =

1. Better and logical permalinks like `myblog.com/my-category/` and `myblog.com/my-category/my-post/`.
2. Simple plugin - barely adds any overhead.
3. Works out of the box - no setup needed.
4. No need to modify wordpress files.
5. Doesn't require other plugins to work.
6. Compatible with sitemap plugins.
7. Compatible with WPML.
8. Works with multiple sub-categories.
9. Works with WordPress Multisite.
10. Redirects old category permalinks to the new ones (301 redirect, good for SEO).

== Installation ==

1. Upload `no-category-base-wpml.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. That's it! You sould now be able to access your categories via http://myblog.com/my-category/

Note: If you have Wordpress 2.7 or above you can simply go to 'Plugins' > 'Add New' in the Wordpress admin and search for "No Category Base" and install it from there.

== Frequently Asked Questions ==

= Why should I use this plugin? =

Use this plugin if you want to get rid of Wordpress' "Category base" completely. The normal behaviour of Wordpress is to add '/category' to your category permalinks if you leave "Category base" blank in the Permalink settings. So your category links look like `myblog.com/category/my-category/`. With this plugin your category links will look like `myblog.com/my-category/` (or `myblog.com/my-category/sub-category/` in case of sub categories).

= Will it break any other plugins? =

As far as I can tell, no. I have been using this on several blogs for a while and it doesn't break anything.

= Won't this conflict with pages? =

Simply don't have a page and category with the same slug. Even if they do have the same slug it won't break anything, just the category will get priority (Say if a category and page are both 'xyz' then `myblog.com/xyz/` will give you the category). This can have an useful side-effect. Suppose you have a category 'news', you can add a page 'news' which will show up in the page navigation but will show the 'news' category.

= Can you add a feature X? =

Depends, if its useful enough and I have time for it.


== Screenshots ==

1. Look Ma, No Category Base!

== Changelog ==

= 1.0.0 =
* Initial release.
Something went wrong with that request. Please try again.