plugin-icon

Remove Taxonomy Base Slug

This plugin can remove specific taxonomy base slug from your permalinks (e.g. "/genre/fiction/" to "/fiction/").
评级
4.8/5
版本
2.1
活跃安装
5K
最后更新
Nov 28, 2017

If you would like to have a little more nice permalinks to your custom post types articles with custom permalinks – this plugin can help you with this. If the term has the same slug as the post type, then the taxonomy has the priority over the post type.

Now I will show some examples:

(Custom taxonomy:)

From:

site.com/taxonomy/cars

To:

site.com/cars

(Custom taxonomy with child taxonomies)

From:

site.com/taxonomy/cars/bmw

To:

site.com/cars/bmw

(Term slug is the same as the post type slug:)

From:

(Post Type:) site.com/cars/ (Term from Taxonomy:) site.com/taxonomy/cars/ (Subterm from Taxonomy:) site.com/taxonomy/cars/bmw

To:

(Post Type:) site.com/cars/ (will not show) (Term from Taxonomy:) site.com/cars (will show) (Subterm from Taxonomy:) site.com/cars/bmw (will show)

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 3.9.40
这个插件是可用的下载,适用于您的站点。