I got the following question:

When I go to a WooCommerce category, the link displays like this:


Where the bold text is the link like it is and the rest is the product category that needs to be shown.

When i go into WooCommerce settings and I go to the pages tab, I got an option to change productcategory slugs. If I fill the following in this textfield: %product_cat% the links shows as follows:


What I want to show in my links is:


Is there any way to do this?

| improve this question | | | | |

We use a method simular to this to generate product permalinks: Custom field values in permalink

Annoyingly this supports one level of category only - not nested categories, so I believe what you want to do is not possible (but if anyone else has a solution I'd love to hear it!).

| improve this answer | | | | |

There is post on here about URL rewrites that you can use for woocommerce if you want to do something else.

Product Base Page URL
You'll also want to tick this option on WooCommerce > Settings > Pages enter image description here

This setting is mentioned in the WooCommerce documentation on Permalinks

| improve this answer | | | | |
  • Your second link is a 404. – Sparky Jan 28 '14 at 2:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.