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)

Активные установки
7K
Проверено на
3.9.40
Этот плагин можно скачать и использовать при автономной установке WordPress.