Hi everyone!
I’m aiming to change the URL structure for my website. Currently my product appears like this when accessed through the collection page: domain/products/product name
The same goes for the about me and collections page:
domain/collections/collection name
domain/pages/about-me
I want to remove the ‘collections’, ‘pages’ and ‘products’ from the urls.
How can I make this happen?
https://luyendykjewelry.com/products/gedenksieraad-zegelring-ovaal
Hello @Chrystel078
In Shopify, you cannot remove /products/, /collections/, or /pages/ from the URL because they are part of Shopify’s system and help organize your store’s content. Without them, your site won’t be able to load the content properly, and it will return a 404 error.
Example: https://prnt.sc/2aMhn23Hz5m6
Hi @Chrystel078 ,
Shopify does not allow changing the default URL structure (e.g., removing /products/, /collections/, or /pages/). However, here are some possible workarounds:
Use URL Redirects (Workaround)- Go to Shopify Admin → Online Store → Navigation → URL Redirects
- Add a redirect from:
- /product-name → /products/product-name
- /collection-name → /collections/collection-name
- /about-me → /pages/about-me
Limitation: This doesn’t actually remove /products/, but users can access shorter URLs.
Use a Headless Shopify Setup (Advanced)
If you’re using a custom frontend (e.g., Gatsby, Next.js, or Hydrogen), you can define custom URL structures and fetch product data using Shopify’s API.
Use a Shopify App (Limited)
Some apps allow creating short URLs but don’t fully remove Shopify’s default structure.
Unfortunately, without a headless setup, Shopify forces /products/, /collections/, and /pages/. Let me know if you need a headless solution! 