I have following categories:
-Mass Storage --Pen Drive
When set custom permalinks settings to this "/%category%/%postname%/"
It results like this:
But I want URL structure like this:
I mean, I want to remove "Product" and "Main Category" and keep only last child category from the Permalink URL settings.
I tried this wordpress plugin (https://wordpress.org/plugins/wp-category-permalink/), but it is not working in latest WordPress version.