Removing "/collections/" from collection page URL

Highlighted
New Member
1 0 0

I have read how to remove the collection path from product page URLs 

{{ product.url | within: collection }}

and replace with

{{ product.url }}

BUT - How do i remove the "/collections/" from the url of collections pages?  

I have:

www.domain.com/collections/category-subcategory

i want:

www.domain.com/category-subcategory

Thanks for your help. 

0 Likes
Shopify Expert
9352 0 1230

That's not possible. The url type (in this case collections) is required.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Tourist
18 0 1

There is an example how you could do it with CSS here not for Shopify but can be changed to work 

https://css-tricks.com/dynamic-page-replacing-content/

Janus
0 Likes