跳到内容

Taxonomy slug fixer

v1.0.0

fariborzasgarpour · 2024年3月10日 上架

fix the middle slugs of parent category and child category.

正在使用
10+
评分
5.0 / 5
累计下载
1,021
最近更新
2024年3月10日
1 条评价需要 WordPress 4.7+已测试到 6.4.15PHP 7.0+

In WordPress, when you create a main category and create a category as its child, connect some articles to the child category and then open that category, you will see that article in the list of that category.
So far no problem and everything is working properly.
Now, if you add a word in the browser address between the main category and the child category, it will still display the same list if that category does not exist and it should be referred to the 404 page.

example.com/parent_category/child_category/ —> post1 , post2
example.com/parent_category/random_text/child_category/ —->post1 , post2

after install

example.com/parent_category/child_category/ —> post1 , post2
example.com/parent_category/random_text/child_category/ —> 404

With this plugin, this problem will be solved and a 404 page will be displayed for addresses that do not exist.
This problem will be very useful for colleagues who work in the field of SEO.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums