Home Plugins taxonomies slug fixer
Taxonomy slug fixer logo

Taxonomy slug fixer

by fariborzasgarpour on WordPress.org

fix the middle slugs of parent category and child category.

(1)

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.

Active installations20+
Weekly downloads
11+0.00%
Version1.0.0
Last updated3/10/2024
WordPress version4.7
Tested up to6.4.5
PHP version7.0
Tags
categorytaxonomy