0

I have following categories:

-Mass Storage --Pen Drive

When set custom permalinks settings to this "/%category%/%postname%/"

It results like this:

http://www.example.com/product/mass-storage/pen-drive/sandisk-ultra-dual-16gb-usb-3-0-otg-pen-drive/

But I want URL structure like this:

http://www.example.com/pen-drive/sandisk-ultra-dual-16gb-usb-3-0-otg-pen-drive/

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.