Remove 'collections' 'products' 'pages' from URL

Topic summary

A user wants to remove ‘/products/’, ‘/collections/’, and ‘/pages/’ from their Shopify store URLs to create cleaner URL structures (e.g., domain/product-name instead of domain/products/product-name).

Key Finding: This is not possible within standard Shopify due to system requirements. These URL segments are hardcoded into Shopify’s architecture and removing them causes 404 errors.

Suggested Workarounds:

  • URL Redirects: Create redirects from shorter URLs to the full Shopify URLs (e.g., /product-name → /products/product-name). Users can access shorter links, but the underlying structure remains unchanged.
  • Headless Shopify: Use a custom frontend (Gatsby, Next.js, Hydrogen) with Shopify’s API to define completely custom URL structures. This is an advanced solution requiring significant development.
  • Third-party apps: Some apps offer short URL creation but don’t fully remove default structures.

Status: The discussion remains open with no native Shopify solution available. The user must choose between accepting default URLs or implementing a more complex headless architecture.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

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! :rocket: