Removing /collections/ name from the collection URLs (Theme Refresh)

error401
Tourist
4 0 0

 

hello indeed I want to do this I leave you the example below because in my case I find that the / collection / is of no use

 

URL of the current collection: / maboutique/ collections / activities

 

and I would like to change it to: / maboutique / activities

Replies 2 (2)

pawankumar
Shopify Partner
538 70 95

Hi @error401 
Please remove within: collection from product.url, You will probably find it in this main-collection-product-grid.liquid or similar section
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
error401
Tourist
4 0 0

In fact I found the file main-collection-product-grid.liquid but once inside I didn't find within: collection from product.url it's not easy to find. This is what I think it is:Capture d’écran (94).png

I forgot to specify that I am a beginner, as much detail as possible is welcome, thank you for your responsiveness