Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I got the following question:

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

http://www.example.com/product-category/category/

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:

http://www.example.com/category/category/

What I want to show in my links is:

http://www.example.com/category/subcategory/product

Is there any way to do this?

share|improve this question

closed as off-topic by Rarst May 23 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

2 Answers 2

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