>
Download This Plugin | |
Download Elegant Themes | |
Name | Single Category Permalink |
Version | 2.1.1 |
Author | Scott Reilly |
Rating | 0 |
Last updated | 2015-02-17 08:49:00 |
Downloads |
7611
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Single Category Permalink plugin added 261 bytes of resources to the Home page and 113 bytes of resources to the sample Post page.
Single Category Permalink plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Single Category Permalink plugin ads no tables to your Wordpress blog database.Reduce permalinks (category or post) that include entire hierarchy of categories to just having the lowest category in the hierarchy.
By default, WordPress replaces the %category% permalink tag in a custom permalink structure with the entire hierarchy of categories for the post's first matching category. For example, assuming your site has a hierarchical category structure like so:
Applications
|_ Desktop
|_ Web
|_ WordPress
By default, if you have a permalink structure defined as %category%/%year%/%monthnum%/%day%/%postname%
, your post titled "Best Plugins" assigned to the "WordPress" category would have a permalink of:
http://www.example.com/applications/web/wordpress/2008/01/15/best-plugins
If you activate the Single Category Permalink plugin, this would be the permalink generated for the post (and recognized by the blog):
http://www.example.com/wordpress/2008/01/15/best-plugins
In order for a category to be used as part of a post's permalink structure, %category% must be explicitly defined in the Settings -> Permalinks admin page as part of a custom structure, i.e. /%category%/%postname%
.
For category links, %category%
is implied to follow the value set as the "Category base" (or the default category base if none is specified). So if your category base is 'category', the above example would list posts in the 'WordPress' category on this category listing page:
http://www.example.com/category/applications/web/wordpress/
With this plugin activated, that link would become:
http://www.example.com/category/wordpress/
NOTE: The fully hierarchical category and post permalinks will continue to work. The plugin issues a 302 redirect to browsers and search engines pointing them to the shorter URL.
Links: Plugin Homepage | Plugin Directory Page | Author Homepage