Contents · 12 sections
- What does the Shopify URL structure look like?
- What can you change in a Shopify URL, and what can’t you?
- Does the /products/ prefix hurt your SEO?
- What happens with /collections/x/products/y URLs?
- What canonical does Shopify set on each URL version?
- How are handles created, and when should you change one?
- Which old URLs can’t Shopify redirect?
- How do you move a nested category tree into Shopify?
- How do URLs work with several languages and markets?
- What should you check in your URLs before launch?
- Conclusion: decide your handles before you import
- Frequently asked questions
Quick summary
In Shopify you can change your domain, each URL handle and the format of language subfolders. You can’t remove or rename the /products/, /collections/, /pages/ and /blogs/ prefixes, or nest collections. Google says words in the URL path barely affect rankings. The real risks are unredirected handle changes and internal links to duplicate URLs.
Key takeaways
- Only the handle is yours. The prefix before it is fixed in every Shopify store, on every plan.
- A product inside a collection has a second URL. In our test, Shopify pointed its canonical back to /products/{handle}.
- Shopify only redirects broken URLs, and it refuses paths that start with /shop, /cart, /apps and four other prefixes.
- Changing a handle breaks the old URL unless a redirect exists. Check the redirect list after every change.
- Nested categories become flat collections. Decide handles and breadcrumbs before you import.
Google’s own starter guide says keywords in the domain or URL path “have hardly any effect” on rankings (Google Search Central, updated December 10, 2025). Yet URLs are the first thing that breaks in a badly planned move. Shopify imposes fixed prefixes and a flat structure, so almost every old URL changes shape. If you are planning a replatform, start with a Shopify migration that maps every old URL before launch. This guide shows what you can change, what you can’t, and what canonical Shopify sets on each URL version, based on our own test.
What does the Shopify URL structure look like?
Every content type sits under a fixed prefix followed by a handle: /products/ for products, /collections/ for collections, /pages/ for pages and /blogs/ for blog posts. The handle is the only part you edit.
A handle is the text identifier of each resource, like a slug in WordPress. Shopify creates it from the title when you add a product, collection, page or post. This is the map of a standard store:
| Page type | URL pattern | What you control |
|---|---|---|
| Homepage | / | Nothing |
| Product | /products/{handle} | The handle |
| Collection | /collections/{handle} | The handle |
| Product inside a collection | /collections/{collection}/products/{product} | Whether your theme links to it |
| Collection filtered by tag | /collections/{handle}/{tag} | The product tags |
| All products | /collections/all | Nothing: reserved path |
| Page | /pages/{handle} | The handle |
| Blog | /blogs/{blog} | The blog handle |
| Blog post | /blogs/{blog}/{handle} | Both handles |
| Search and cart | /search, /cart | Nothing |
Blog posts carry two handles because a Shopify store can run several blogs. On Shopify’s Dawn demo store, posts live at /blogs/news/{post}. A blog named “guides” or “journal” reads better. Pick the name before you publish, because renaming the blog changes every post URL under it.
What can you change in a Shopify URL, and what can’t you?
You can change the domain, the handles and the format of language and market subfolders. You can’t remove, rename or translate the /products/, /collections/, /pages/ and /blogs/ prefixes, and you can’t create your own folders.
This is one of the most repeated complaints in the Shopify Community forums. The table sorts each element into what you can touch and what you can’t, with the workaround we use:
| Element | Can you change it? | How, or the workaround |
|---|---|---|
| Domain | Yes | Connect your domain and set it as primary |
| Product, collection, page or post handle | Yes | Resource page › Search engine listing › URL handle |
| Blog handle | Yes | Blog settings; it changes every post URL in that blog |
| Prefixes /products/, /collections/, /pages/, /blogs/ | No | None inside a standard Shopify theme |
| Custom paths such as /mens-shoes/leather-loafers | No | Descriptive handles plus breadcrumbs |
| Nested folders (/clothing/men/shirts) | No | Compound handles and BreadcrumbList markup |
| .html extension or trailing slash | No | Redirect the old URLs to the new ones |
| Language or market subfolder | Yes, fixed format | /es or /fr in the primary market; /en-ca in secondary markets |
| Homepage URL | No | It is always the root of the primary domain |
| Reserved paths (/collections/all, /search, /cart) | No | None |
One of the top three US guides for this query proposes a product URL like /mens-shoes/leather-loafers. The same guide says you can change the homepage URL. Neither is possible in a standard Shopify store.
The only real way around the prefixes is a headless storefront. Shopify’s headless documentation describes two routes: Hydrogen hosted on Oxygen, or your own framework and hosting. In both, your developers define the routes. You also rebuild and maintain the whole storefront outside the theme editor. We rarely see URLs alone justify that cost.
Does the /products/ prefix hurt your SEO?
There is no sign that it does. Google says words in the URL path barely count for rankings. What counts is keeping ranking URLs stable and sending all signals to one version of each page.
Google Search Central lists keywords in the domain name or URL path among things not to focus on. On their own, they have almost no effect beyond appearing in breadcrumbs in search results.
Source: Google Search Central, SEO Starter Guide (updated 12/10/2025) · accessed 10/11/2026
The same guide asks for URL words that help users and warns against random identifiers. Google’s URL structure best practices add four rules: hyphens instead of underscores, words instead of ID numbers, consistent lowercase and few parameters. Shopify handles meet all four by default.
So we don’t rewrite handles just to add a keyword. Each change creates a new URL that Google has to discover and re-rank. Shopify’s help page on adding and updating products gives the same warning: edit the handle too often and the product may drop out of search results.
Shopify’s URL limits matter in three specific cases. A migration changes the shape of every old URL, so each one needs a redirect. A theme can link to duplicate product URLs on every collection page. And a catalog with several category levels loses its visible hierarchy. The next sections cover each case.
What happens with /collections/x/products/y URLs?
Every product also opens inside each collection it belongs to. Shopify serves the same content at both URLs and marks /products/{handle} as canonical. The problem starts when your theme always links to the collection version.
The second URL comes from the Liquid within filter. Its documentation admits that the standard product URL and the collection-aware URL show the same content at different addresses. Shopify asks theme developers to consider the SEO implications. A product in 5 collections ends up with 6 URLs that load the same page.
The canonical tag keeps Google from indexing all 6, but it does not fix your internal links. Google’s guide to consolidating duplicate URLs treats canonicals as a strong signal and sitemaps as a weak one. It also asks you to link to the canonical URL, not the duplicate. If every product card points to /collections/x/products/y, each collection page sends a signal that contradicts your canonical.
You can check your theme in two minutes:
- Open a collection in your live store and hover over a product card.
- Read the link in the bottom corner of the browser. If it contains /collections/, the theme uses within.
- Open that product, right-click and choose “View page source”.
- Search for rel=”canonical”. It should point to /products/{handle}, with no collection in the path.
In Dawn, Shopify’s free reference theme, collection cards link straight to /products/. We confirmed it on the Dawn demo store on October 11, 2026. Many paid themes include a setting to choose between the two link types. If yours doesn’t, removing within from the product card snippet is a small edit, usually part of a custom Shopify theme with product cards that link to clean URLs.
Technical note
Before you remove within, check what else the theme uses it for. With collection context, a product page can show a collection breadcrumb or previous and next buttons. Without the filter, those features need another data source, such as a metafield that stores each product’s main collection.
What canonical does Shopify set on each URL version?
In our test, Shopify pointed the collection, variant, tracking, uppercase and trailing-slash versions of a product to its clean URL. On collections, it dropped sorting and filters from the canonical but kept pagination.
The shopify.dev entry for the canonical_url object is one line long and covers none of these cases. So we measured them. On October 11, 2026, we requested 17 URL versions from Shopify’s official Dawn demo store and read the status code and canonical tag of each response:
| URL requested | Status | Canonical |
|---|---|---|
/products/puff-olive-leaf | 200 | Itself |
/collections/bags/products/puff-olive-leaf | 200 | /products/puff-olive-leaf |
/products/puff-olive-leaf?variant=… | 200 | /products/puff-olive-leaf |
/products/puff-olive-leaf?utm_source=… | 200 | /products/puff-olive-leaf |
/products/PUFF-OLIVE-LEAF | 200 | /products/puff-olive-leaf |
/products/puff-olive-leaf/ | 200 | /products/puff-olive-leaf |
/collections/bags?sort_by=price-ascending | 200 | /collections/bags |
/collections/bags?filter.v.availability=1 | 200 | /collections/bags |
/collections/bags?page=2 | 200 | /collections/bags?page=2 |
/collections/bags/handbag (tag filter) | 200 | Itself |
/collections/all | 200 | Itself |
/search?q=bag | 200 | Itself, with an X-Robots-Tag: noindex, nofollow header |
/en-fr/products/puff-olive-leaf | 200 | Itself, with hreflang x-default, en and en-FR |
/en-fr/collections/bags/products/puff-olive-leaf | 200 | /en-fr/products/puff-olive-leaf |
/products/does-not-exist-xyz | 404 | None |
/shop | 200 | / (it serves the homepage) |
/shop/puff-olive-leaf | 404 | None |
Three readings matter. Uppercase and trailing-slash URLs answer 200 instead of redirecting, so they rely on the canonical alone. Each paginated collection page is its own canonical, which matches Google’s guidance because it lists different products. Paginating also keeps collection pages fast; see how pagination and Liquid loops affect store speed. And tag-filtered collections are self-canonical, so they can be indexed with repeated content.
The demo store’s robots.txt completes the picture. It blocks crawling of collections with sort_by, tag combinations with + and URLs with two or more filters. A single filter stays crawlable, with its canonical pointing to the collection. If you customize robots.txt.liquid, keep those rules.
Important
This test reflects one Dawn store on October 11, 2026. The theme prints the canonical tag in theme.liquid, so a paid or custom theme can behave differently. Repeat the check on your own store with the URL Inspection tool in Google Search Console. It shows the canonical you declare and the one Google selects.
How are handles created, and when should you change one?
Shopify builds the handle from the title in lowercase, with hyphens for spaces and special characters. Renaming the product later leaves the handle unchanged. Change a handle once, before launch, or with a redirect.
The handle rules on shopify.dev are short:
- Always lowercase. Uppercase letters are converted.
- Spaces and special characters become hyphens, and a run of them becomes a single hyphen.
- Handles must be unique. A second product called “Potion” gets the handle potion-1.
- Handles don’t follow the title. Rename a product and the handle stays until you edit it.
The uniqueness rule bites during migrations. If two products in your old store share a name, the second one lands on -1 and no longer matches your redirect map. The same happens with subcategories that share a name under different parents. Search your export for duplicate titles before you import.
Redirects on handle changes need a check. Shopify’s blog post on SEO URLs says redirects are created automatically when you change a handle. The collection settings help page documents a choice instead: you select whether to redirect the old URL. The product help page doesn’t mention a redirect at all. After any handle change, open Content › Menus › URL redirects and confirm the old path is listed.
Bulk changes by CSV or by an app are riskier. Nothing guarantees a redirect for each edited handle. Export your handles before and after, compare them, and import the missing redirects as a file.
Tip
Write handles of 2 to 5 words with the product or category name. Drop articles, years and internal labels like “new” or “sale”. A handle with a year forces a change, and a redirect, every season.
Which old URLs can’t Shopify redirect?
Shopify only redirects URLs that return a 404, and it refuses paths that start with /apps, /application, /cart, /carts, /orders, /services or /shop. The fixed /products, /collections and /collections/all paths can’t be redirected either.
Shopify can redirect only from broken URLs. A standard store can hold up to 100,000 URL redirects, and a Shopify Plus store up to 20,000,000. URLs with query strings might not redirect as expected.
Source: Shopify Help Center, Creating and managing URL redirects · accessed 10/11/2026
The /shop rule is the one that catches US stores off guard. WooCommerce’s “shop base” permalinks put every product under /shop/{slug}/, and the WooCommerce shop archive usually sits at /shop/. In our test, /shop served the Dawn homepage with a canonical to the root, and /shop/{product} returned a 404. Shopify’s help lists that prefix as one you can’t redirect from, so those 404s stay.
The help page does not say whether the rule also covers paths like /shopping-guide that only start with the same letters. Test one such redirect in your admin before you plan around it. If your product URLs start with /shop, read our walkthrough on mapping WooCommerce URLs to Shopify handles, which covers edge redirects with Cloudflare.
Two more rules shape your redirect map. A redirect only fires if Shopify has nothing at that path. When a hidden collection becomes visible again, Shopify deletes its redirect automatically. And Shopify’s free importer does not create redirects for you: check what Shopify’s Store Migration app leaves out on URLs and SEO before you rely on it.
If you already launched and organic clicks are falling, the gaps usually sit in one URL pattern. Start with our Shopify migration traffic drop recovery plan, which sorts fixes into day one, week one and month one.
How do you move a nested category tree into Shopify?
Shopify has no nested collections: every collection sits directly under /collections/. You keep the hierarchy in the menu, in breadcrumbs and in compound handles, and you redirect each old category URL to its new collection.
Some guides show URLs like /collections/new-releases/womens as if they were subcollections. That shape is a collection filtered by a tag. The link_to_tag filter appends the tag to the collection path. Its content depends on product tags, and it has no title, description or SEO fields of its own.
To flatten a category tree without losing clarity, we apply these naming rules:
| Case in the old store | Old URL (example) | Shopify handle |
|---|---|---|
| Top-level category | /clothing/ | /collections/clothing |
| Subcategory with a unique name | /clothing/jackets/ | /collections/jackets |
| Subcategory repeated under two parents | /men/shirts/ and /women/shirts/ | /collections/mens-shirts and /collections/womens-shirts |
| Third level | /clothing/men/shirts/long-sleeve/ | /collections/mens-long-sleeve-shirts |
| Category with an ID or extension | /12-shirts or /shirts.html | /collections/shirts |
| Product with the category in its path | /clothing/shirts/linen-shirt.html | /products/linen-shirt |
Use one word order across the store, such as audience first and product second: mens-shirts, womens-shirts. A fixed order makes the handles predictable and the redirect map easy to check.
Extensions and IDs are the slowest part of the map. Magento adds .html to products and categories by default, and multi-store setups repeat paths per store view. See how we handle Magento .html URLs and multi-store catalogs on Shopify Plus.
Breadcrumbs bring the visible hierarchy back. Google’s starter guide says it learns breadcrumbs from the words in the URL, and flat URLs remove that hint. Add BreadcrumbList structured data with the full path on product and collection pages. Store each product’s main collection in a metafield so the theme can read it.
How do URLs work with several languages and markets?
Each published language or market gets its own URLs, in a subfolder, a subdomain or a separate domain. Shopify adds a self-referencing canonical and automatic hreflang tags. Prefixes stay in English, but you can translate handles.
Shopify Markets gives you three URL options. The help page on international domains fixes the subfolder format. In the primary market you can use language-only folders, such as /es for Spanish. Secondary markets combine language and country, such as /en-ca or /fr-ca. The feature works from the Basic plan and not on the myshopify.com domain.
| Option | Example | SEO effect according to Shopify |
|---|---|---|
| Subfolder | yourstore.com/en-ca/products/wool-coat | Shares the main domain’s authority; recommended for most stores |
| Subdomain | ca.yourstore.com/products/wool-coat | Some search engines treat it as a separate site |
| Country domain | yourstore.ca/products/wool-coat | Strongest local signal; slowest to build authority |
Shopify’s guide to international SEO for markets says hreflang is on by default. It is only generated for markets with their own domain, subdomain or subfolder. Each version gets a canonical to itself. Our test confirmed both on the /en-fr/ subfolder of the Dawn demo store.
You translate handles in the Translate & Adapt app, in the URL handle field of each resource. A Spanish version can then live at /es/products/abrigo-lana instead of repeating wool-coat. Subfolders always hang from the primary domain. If you change that domain, every market URL changes with it, so plan both moves together.
What should you check in your URLs before launch?
Check eight points before launch: old URL inventory, final handles, duplicates, /shop paths, theme links, breadcrumbs, languages and canonicals. Fixing them before the switch costs no traffic.
- Inventory: export every old URL with visits or backlinks, including pages no longer in the menu.
- Final handles: set each product and collection handle with the naming rules above.
- Duplicates: find repeated titles that would produce -1 handles.
- Blocked prefixes: list old URLs that start with /shop, /cart, /apps or /services and plan them outside Shopify.
- Theme links: confirm collection cards point to /products/.
- Breadcrumbs: confirm product pages show the main collection and output BreadcrumbList.
- Languages: translate handles before you publish each language.
- Canonicals: inspect one URL of each type in Google Search Console after launch.
If you stay on Shopify and only switch themes, your URLs don’t change. The code that prints the canonical, the breadcrumbs and the card links does. Repeat points 5, 6 and 8 on the new theme before you publish it. For checks after launch, see our Shopify maintenance plans with post-launch Search Console checks.
In an audit, start with the card links. Open any collection, hover a product and check whether the link contains /collections/. If it does, remove the within filter from the card snippet so cards link to /products/{handle}, then crawl the internal links again.
Coming from Magento, where URLs often end in .html? See how we map them in a Magento to Shopify migration.
Conclusion: decide your handles before you import
Shopify fixes its URL prefixes and leaves you the handle, the domain and the language format. Google says path words barely count, so those limits rarely cost rankings on their own. Losses come from handles changed without redirects, themes that link to duplicates, /shop paths nobody planned for and flattened categories without a map. At Eximia Ecom we lock the handle map before import, redirect 100% of URLs and test the canonical on every template. Tell us your current platform and we will flag which of your URLs are at risk before you commit.
Frequently asked questions
Can you remove /products/ or /collections/ from Shopify URLs?
No. Shopify fixes the /products/, /collections/, /pages/ and /blogs/ prefixes in every store and on every plan. You can only edit the handle at the end. The one way to define your own routes is a headless storefront, which means building and maintaining the storefront outside the theme editor.
Is /products/ in every URL bad for SEO?
There is no evidence that it is. Google Search Central says keywords in the domain or URL path have hardly any effect on rankings. What matters is a descriptive handle, a URL that doesn’t change without a redirect, and a canonical tag that points to one version of each page.
Which URL does Google index when a product is in several collections?
Usually /products/{handle}. Shopify also serves the product at /collections/{collection}/products/{handle}, but in our Dawn test on October 11, 2026, the canonical always pointed to /products/. Google can choose a different canonical if your internal links keep pointing to the collection version.
Does changing a product handle create a redirect automatically?
Don’t assume it. Shopify’s help documents a redirect option when you edit a collection handle, while its product help page mentions none. After any change, check Content › Menus › URL redirects for the old path. Handles changed by CSV or by an app need their redirects imported separately.
Can I redirect old /shop/ URLs to Shopify products?
Not from the Shopify admin. Shopify’s help lists /shop among the prefixes you can’t redirect from. In our test, /shop/{product} returned a 404 on a Shopify store. The usual fix is an edge redirect layer, such as Cloudflare Bulk Redirects, kept in place for at least a year.
