How to remove parent category slug in Permalinks for WordPress
You might be interested in using subcategories for categorizing your posts in a better way. Wordpress by default lets you have the category name in the permalinks but if you use subcategory, both the category and subcategory slug appear on your permalinks. If you need to remove the parent category slug from Permalinks in Wordpress, you can do it using a plugin or modifying your theme’s functions.php file.