Jump to content

Modify keywords that are passed to the friendly URL


Recommended Posts

Hello,

I'm trying to change the friendly URL and I would like to add the product category on it.

Easy, I only have to add the keyword {category} in "Preferences - SEO and URLs - Route to products"

The problem comes because in my store I have an structure like this:

- Category - subcategory1 - subcategory2 - product

And if I add the keyword {category} I will always see the value of the "subcategory2" like this: shop.com/subcategory2/product.html

And if I use the keyword {categories}, which is also available, I will see in my friendly URL all the tree like this: shop.com/category/subcategory1/subcategory2/product.html, but this is "excessive"...

And now the question, is there any way to put a keyword that only add into the friendly URL the category or the subcategory1?

I hope I explained well: :wacko:

Greetings and thank you!

Xavi

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...