0

I am using WooCommerce and my client would like to have 2 versions of permalink structures for single product pages as follows:

example.com/product-slug/

and

example.com/product-category/product-slug/

I've tried a couple of plugins but they only offer a singlular type of solution.

I know WP has redirect hooks/filters but I can't fathom how to do it without breaking my current structure.

I should also add that the default post type permalink structure is set to:

example.com/blog/post-slug/

and so won't/shouldn't conflict with what I want.

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.