WordPress only cares about the last slug to show taxonomy content

[ad_1]

As you know, WordPress reads the final slug in the taxonomies and loads the page For example, if the following URL is a valid address in WordPress:

example.com/accessory/**digital**/mobile/samsung

All the following URLs show the same previous content to the user:

example.com/accessory/**digital233**/mobile/samsung
example.com/accessory/**digit22al**/mobile/samsung
example.com/accessory/**aaaa**/mobile/samsung

The issue is that I don’t want this to happen In other words, these addresses give a 404 error and only the main address can load the content Does anyone have an idea to solve this?

Regards

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer