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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.