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
最后更新
March 18, 2014
版本
2.1
活跃安装
7K

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)

免费使用Creator套餐
活跃安装
7K
目前已测试版本
3.9.40
此插件可供下载,可用于您的 WordPress 自托管安装。