What is SINGLE “Category Permalink Structure”?
Here is an example:
One of my blog category URL looks like this before:
http://fashion.postedpost.com/category/fashion-house/accessories/ties/
After single it, it will look like:
http://fashion.postedpost.com/category/ties/
Why we need shorter category permalink?
- Shorter is better, you know, size is always an issue.
- Change categories structure anytime without change urls
- Avoid duplicate content issue, because both of URLs are display a same webpage.
How to do it.
Find category-template.php in WordPress wp-includes folder, find this function: function get_category_link($category_id)
Comment the following lines:
//if ( $parent = $category->parent )
// $category_nicename = get_category_parents($parent, false, ‘/’, true) . $category_nicename;
(or get a plugin if you like)
Possibly related posts: (automatically generated)
Single "Category Permalink Structure"
I am an enthusiastic, self-motivated and conscientious person, always willing to learn. I am well organized, highly motivated to accept responsibility and thorough in my approach to work. I am also creative and easy going, always ensuring that I operate with a high level of integrity. Good in maintaining deadlines and working under pressure.