![]() |
I`ve created a custom post type contribute with permalink structure as follows: http://example.com/contribute/post-name/
and two custom taxonomies departments and categories with permalink structure http://example.com/departments/department-name/
http://example.com/categories/category-name/
Is it possible to make all urls reside one level higher and how?
http://example.com/post-name/
http://example.com/department-name/
http://example.com/category-name/
Solution - 1Use this plugin to remove custom taxonomy slugs "departments" and "categories" from the url http://wordpress.org/extend/plugins/wp-htaccess-control/ The above plugin won't allow you to remove slug from custom post type... Use the following plugin to remove slug from custom post type "contribute" http://wordpress.org/extend/plugins/remove-slug-from-custom-post-type/ Solution - 2see this article for category removal from url http://www.wprecipes.com/how-to-remove-category-from-your-wordpress-url or try this plugin http://wordpress.org/extend/plugins/wp-no-category-base/ |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 7 |