WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

closed as off-topic by Rarst May 23 '14 at 19:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Has this been resolved? – kidakaka Jul 8 '13 at 9:38

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

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

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!).

share|improve this answer

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