Shopify SEO · 2026-05-20
Shopify Site Structure: The URL Hierarchy That Ranks
The Shopify URL hierarchy that ranks: flat, three-level structure — homepage, collections, products — with clean slugs and no deep nesting.

TL;DR
The Shopify URL structure that ranks is flat and three levels deep: homepage → collection → product. Keep every important page within three clicks of the homepage, use keyword-rich slugs, and avoid deep nesting. Shopify forces /collections/ and /products/ prefixes, so your ranking leverage is the slug, internal links, and collection organization — not folder depth.
Shopify locks your URL prefixes. Products live at /products/handle, collections at /collections/handle, blogs at /blogs/handle. You cannot remove these, and you shouldn't waste time trying. What you control is the handle (slug) and how pages link to each other. A product can technically sit under a collection path, but Shopify serves the canonical /products/ version — so treat the flat /products/ URL as the one that matters and point all internal links there.
Build your hierarchy around collections, because collections are your highest-value SEO pages. A collection like /collections/mens-running-shoes targets a broad commercial keyword that no single product can win. Map your collections to real search demand: run your product categories through Google Keyword Planner or Ahrefs, then create one collection per keyword cluster. Most stores under 500 products need 15–40 collections, not 200.
Keep slugs short, lowercase, and descriptive. Use /collections/leather-wallets, not /collections/collection-2 or /collections/leather-wallets-for-men-and-women-2024. Three to five words is the ceiling. When you rename a page, Shopify auto-creates a 301 redirect — check Settings → Navigation → URL Redirects to confirm it fired, because a broken slug change drops the page from the index within a crawl cycle or two.
Internal linking is where flat structure earns its rankings. Every product page should link up to its parent collection, and your main navigation should surface your money collections within one click. Add a footer or nav menu that exposes your top 10–15 collections so crawlers reach them fast. Orphan products — ones with no internal links pointing in — get crawled rarely and rank poorly, so audit for them in Google Search Console's Pages report.
Watch three structural traps unique to Shopify. First, faceted collection filters (?sort_by=, ?filter.v.price=) spawn thousands of near-duplicate URLs — Shopify canonicalizes most, but confirm in Search Console and block junk parameters if crawl budget bleeds. Second, products assigned to multiple collections create /collections/x/products/y variants; your theme should always link to the canonical /products/y. Third, tag pages can generate thin, low-value URLs — noindex them if they aren't targeting real search terms.
For content, keep the blog flat too: /blogs/news/post-title is fine, but pick one blog handle and stick to it rather than splitting posts across five blog sections. Link blog posts to the relevant collections and products they mention. This passes authority from informational content to commercial pages and gives answer engines a clear path from your advice to your buyable pages — which is what gets you cited and clicked.
In practice, the ranking hierarchy is simple: a clean homepage, a tight set of keyword-mapped collections, product pages with descriptive slugs, and internal links that connect them without dead ends. You don't need a complex taxonomy or a URL-rewrite app. You need fewer, better-organized pages and consistent linking — that structure crawls fast, consolidates authority, and ranks.
Frequently asked
Can I remove /collections/ or /products/ from Shopify URLs?
No. Shopify hard-codes these prefixes and there is no native or reliable app-based way to remove them. Focus your optimization on the slug, internal links, and collection structure instead.
How many collections should a Shopify store have?
Match collections to real keyword demand — most stores under 500 products need 15–40. Create one collection per keyword cluster rather than one per tag or attribute, which creates thin, competing pages.
Do Shopify URL changes hurt SEO?
Renaming a page auto-generates a 301 redirect, which preserves most ranking equity. Always verify the redirect fired under Settings → Navigation → URL Redirects, and avoid changing high-ranking slugs without reason.
Should product URLs include the collection name?
No. Let Shopify serve the canonical flat /products/handle URL and point all internal links there. Collection-nested product URLs (/collections/x/products/y) create duplicate paths that dilute crawl efficiency.
Free, concrete, yours to keep
Want this done for you — properly?
Get a free audit of your rankings and AI-answer presence. Real findings within days, no sales deck.