Hello,
How can I remove ‘/collections’ from the URL in my website?
I am using Trade theme
Goal: remove “/collections” from Shopify collection URLs in a Trade theme (e.g., change website.com/collections/cars/wheels to website.com/cars/wheels).
Initial guidance addressed products, not collections: edit card-product.liquid and remove the “within: collection” parameter so product links opened from a collection page don’t include collection context. Steps provided: Online Store > Themes > … > Edit code > card-product.liquid. A screenshot was shared for reference.
Clarification: the request specifically targets collection URLs, not product URLs.
Latest update/outcome: Shopify does not allow customizing the collection URL structure. The “/collections” segment cannot be removed for collection pages. The suggested product-link tweak does not apply to collection URLs.
Status: Resolved with platform limitation. No theme-level workaround or alternative solution was provided. Explanation: Shopify’s routing enforces “/collections” for collection pages, while product links can sometimes omit collection context when edited as noted above.
Hello,
How can I remove ‘/collections’ from the URL in my website?
I am using Trade theme
Hi @ShoopifyFan
You can remove it when opening products from the collection page only by following this. But it could remove from products when open on collection only, cannot remove collections if you open link contains it directly,
It is not about the products since everything is fine with them, but I have a problem with collections.
I want to remove it from my link. Let’s say I have a collection link “website.com/collections/cars/wheels”. Instead of this link, I would like to see a link “website.com/cars/wheels”.
Oh, Shopify does not allow us to customize this link.