Can gender be reflected in URL structure for clothing collections?

I run a clothing store and have recently pick up women’s clothing in addition to men’s.

Is it possible to reflect the gender in the url structure?

Storeurl.com/collection/women/knitwear/products/product-title

Storeurl.com/collection/men/knitwear/products/product-title

if I visit the product through the Women collection the Url is

Storeurl.com/collection/women/products/product-title

and via the knitwear collection the url is

Storeurl.com/collection/knitwear/products/product-title

No.

A url like this isn’t valid.

Storeurl.com/collection/women/knitwear/products/product-title

To break it down that url would be saying:

  • you’re looking at a shop
  • and looking at a collection
  • one named “women”
  • filtered by “knitwear” tag
  • looking at a specific product
  • with the title of “product-title”

Why it’s not valid is because products won’t retain tag filters in the url.

You might need to consider changing the collections so it’s this instead:

Storeurl.com/collections/women-knitwear/products/product-title
(so the collection is “women-knitwear” not “women”)