Àpèjúwe
If you would like to have a little more nice permalinks to your custom post types articles with custom permalinks Ìtumọ̀ Yorùbá: – 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)
Ìgbéwọlẹ̀
- Unzip
- Upload “remove-taxonomy-base-slug” folder to the “/wp-content/plugins/” directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select which taxonomies base slug to remove, go to Plugins -> Remove Taxonomy Base Slug
- Update your permalinks, go to Settings -> Permalinks -> Save Changes
- ThatÌtumọ̀ Yorùbá: ’s it!
FAQ
- Installation Instructions
-
- Unzip
- Upload “remove-taxonomy-base-slug” folder to the “/wp-content/plugins/” directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select which taxonomies base slug to remove, go to Plugins -> Remove Taxonomy Base Slug
- Update your permalinks, go to Settings -> Permalinks -> Save Changes
- ThatÌtumọ̀ Yorùbá: ’s it!
- Why should I use this plugin?
-
Use this plugin if you want to get rid of a custom taxonomy base slug completely.
The normal behaviour of WordPress is to add ‘/taxonomy’ to your permalinks if you leave “taxonomy page” blank (ex: site.com/taxonomy/).
So your taxonomy links look like “site.com/taxonomy/my-taxonomy/”.
With this plugin your taxonomy links will look like “site.com/my-taxonomy/” (or “site.com/my-taxonomy/sub-taxonomy/” in case of child taxonomies). - Will it break any other plugins?
-
I donÌtumọ̀ Yorùbá: ’t think so.
- WonÌtumọ̀ Yorùbá: ’t this conflict with pages or post types?
-
Simply donÌtumọ̀ Yorùbá: ’t have a page or a post type and category with the same slug.
Even if they do have the same slug it wonÌtumọ̀ Yorùbá: ’t break anything.
Priority will be for taxonomies. - Can you add a feature X?
-
Depends, if its useful enough and I have time for it.
Àwọn àgbéyẹ̀wò
Àwọn Olùkópa & Olùgbéejáde
“Remove Taxonomy Base Slug” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Remove Taxonomy Base Slug” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
2.1
- Fixed a little bug.
- Added Multisite support.
2.0
- Fixed: A bug in PHP 5.4 + some other bugs
- Added: Admin Panel with the list of all taxonomies.
1.2
- Fixed: Auto update permalinks after adding new terms.
1.1
- Fixed a bug with hierarchical terms.
1.0.1
- Some small bug fixes.
1.0
- First release.