
No Category Parents
v0.3.1Sergio Milardovich · 2009年11月9日 上架
Removes the mandatory 'Category Base' and every parent category from your category permalinks.
- 正在使用
- 6,000+
- 评分
- 5.0 / 5
- 累计下载
- 7.8 万
- 最近更新
- 2026年9月1日
3 条评价需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+
This plugin completely removes the mandatory ‘Category Base’ and all the parents from your
category permalinks (e.g. /category/parent-category/my-category/ becomes /my-category/).
It also shortens post permalinks when you use the /%category%/ permastruct, so a post filed
under a deeply nested category still gets a short URL.
If a post or page already uses the same slug as a category, the post keeps the clean URL and
the category is served from /my-category-cat/ instead.