Ecommerce site structure is the way your store’s pages are arranged and linked: homepage at the top, categories under it, subcategories under those, and products at the bottom, with every level reachable through plain links. A good structure keeps every product a few clicks from the homepage, gives each search intent one page, and lets Google read the hierarchy from your menus, breadcrumbs and URLs.
That’s the answer. The rest of this guide is the picture behind it, because structure is easier to see than to describe. I’ll start with a diagram, then walk through each labelled level and the mistakes I find most often when I audit a store.
The Structure at a Glance
Here’s an illustrative store selling outdoor gear. It’s an example I made up for this guide, not a client. Keep it open while you read, because every section below refers back to a level or label in it.
[L0] Home /
├── [L1] Footwear /footwear/
│ ├── [L2] Hiking Boots /footwear/hiking-boots/
│ │ ├── [L2-F] Waterproof Hiking Boots /footwear/hiking-boots/waterproof/
│ │ └── [L3] Product: Ridge Mid GTX /products/ridge-mid-gtx/
│ └── [L2] Trail Running Shoes /footwear/trail-running-shoes/
├── [L1] Backpacks /backpacks/
│ ├── [L2] Daypacks /backpacks/daypacks/
│ └── [L2] Hiking Backpacks /backpacks/hiking-backpacks/
└── [L1] Blog /blog/
└── [B] Guide: How to Choose Hiking Boots /blog/how-to-choose-hiking-boots/
└── links up to [L2] Hiking Boots
Notice three things before you move on. Products sit at L3, three clicks from home. The L2-F node is a filter promoted to a real page, and the blog branch points up into the shop, not sideways into more posts.
Level by Level: What Each Page Type Does
The same tree reads more clearly as a table. Each row is one level from the diagram, with the job it does and the keyword type it should own.
| Label | Page type | Job | Keyword it owns | Example |
|---|---|---|---|---|
| L0 | Homepage | Brand, top categories, best sellers | Brand name | outdoor gear store |
| L1 | Category | Broad browse page | Broad head term | footwear |
| L2 | Subcategory | Main ranking page for product types | Commercial head term | hiking boots |
| L2-F | Promoted filter | A filter with its own demand | Modified head term | waterproof hiking boots |
| L3 | Product | Sells one item | Product name, model | ridge mid gtx |
| B | Blog post | Answers a question, feeds a category | Informational query | how to choose hiking boots |
In my experience, L2 does the heavy lifting. “Hiking boots” is the query with buying intent and volume, so that subcategory deserves most of your copy and links. How to optimise that page itself is covered in my category page SEO guide. This post stays on the skeleton.
How Many Clicks Should a Product Be From the Homepage?
Look at the diagram again. Ridge Mid GTX takes three clicks: Home, Footwear, Hiking Boots, product. I aim for three or fewer on any product I want ranking. That’s my working rule, not a Google number, because Google doesn’t publish one.
What Google has said points the same way. In a 2018 Webmaster Central hangout, as reported by Search Engine Journal, John Mueller said it’s “more a matter of how many links you have to click through” to reach content “rather than what the URL structure itself looks like.” Google’s ecommerce site structure documentation adds that the more internal links a page has, the more important it looks relative to your other pages.
So depth isn’t about URL folders. It’s about links. A product at /products/ridge-mid-gtx/ with a flat URL can still sit eight clicks deep if the only path to it runs through page 7 of a category.
Where Depth Quietly Creeps In
Pagination is the usual culprit. A category with 400 products and 24 per page pushes the last items 17 pages down. Honestly, that’s a structure problem, not a pagination problem: split it into subcategories.
The fix I reach for first is more L2 pages built around real search demand. Then I link best sellers straight from the homepage, which Google’s documentation suggests as a way to signal importance.
Does URL Structure Need to Match the Hierarchy?
Compare the two URL styles in the diagram. Categories use nested folders like /footwear/hiking-boots/, while products use a flat /products/ridge-mid-gtx/.
I like that split. Nested category URLs make the hierarchy readable to people and to Google, while flat product URLs stay stable when a product moves between categories or sits in several. If a product URL includes its category, moving it means a redirect every time.
Neither choice is a ranking factor on its own. Mueller’s point above is that click paths matter more than folder depth. My URL structure SEO guide goes deeper on slugs and folders, and products reachable through several category paths are a duplicate issue I cover in duplicate content in ecommerce.
Navigation and Breadcrumbs: Drawing the Lines Google Follows
In the diagram, every line between two nodes is a link. That’s literal. Google’s ecommerce documentation says to add links from menus to category pages, from category pages to subcategories, and from subcategories to all product pages.
Two technical details matter more than menu design:
- Use real
<a href>links. Google’s documentation warns against using JavaScript events on other elements for navigation. - Link every product you want indexed. Google says that if category pages don’t link to all products, Googlebot might not find them by crawling alone, and it generally won’t type queries into your search box.
For products you can’t reach through navigation, Google points to a sitemap or a Merchant Center feed as backup. My XML sitemap best practices post covers that side.
What Breadcrumbs Show, and Where
A breadcrumb trail is the diagram’s path printed on the page. On Ridge Mid GTX it reads: Home > Footwear > Hiking Boots > Ridge Mid GTX. Each crumb links up one level, so a shopper who landed from search can climb to the category in one click.
Mark it up with BreadcrumbList structured data that matches the visible trail. One caveat I always mention: since January 2025, Google’s simplified mobile results show only the domain, so breadcrumbs appear in desktop results only. Google still supports the markup, and the trail still helps shoppers and internal linking on every device.
If a product lives in two categories, pick one primary trail. Mixing trails on the same product muddies the hierarchy you drew.
Where Do Filters Fit in the Tree?
Go back to L2-F. “Waterproof hiking boots” started as a filter on the Hiking Boots page, and it got promoted to a real node because people search for it. Most filters never earn that.
Here’s my rule. A filter with real search demand and enough products becomes a subcategory with its own URL, copy and link from its parent. Everything else, sizes, sort orders, price sliders, stays a shopping tool that Google shouldn’t crawl endlessly.
Google’s faceted navigation guidance explains why: crawlers can’t tell whether filter URLs are useful without fetching them, so they tend to fetch huge numbers. I only mention filters here because they decide what goes into the tree. The step-by-step handling sits in my category page guide.
How Should the Blog Link Into the Shop?
Look at the B node. The boot-buying guide links up to Hiking Boots, and that single arrow is the most underused link on most stores I review.
Blog posts attract informational searches and, over time, backlinks. A link from “how to choose hiking boots” to the Hiking Boots category passes that attention to the page that sells. It also tells Google the two pages are about the same topic.
I keep it simple. Each post links to one primary category in the body copy, with a descriptive anchor, and the category links back to its most useful guide. Whether you call that a silo or a cluster is mostly vocabulary; my content silo vs topic cluster comparison explains the difference if you want the theory.
Planning the Tree From Keyword Research
The diagram didn’t come from a merchandiser’s gut. Each L1 and L2 node exists because a keyword group justified it.
My process has three steps. Gather the product-type queries your buyers use, group the ones that share search intent, then give each group exactly one page in the tree. If two groups would land on the same page, merge them; if one group needs two pages, you’ve probably mixed intents.
That grouping step is keyword mapping, and I walk through it with a template in my keyword mapping guide. Do it before you build menus. Renaming a category later means new URLs, redirects and relearning for Google.
A Quick Check Before You Launch
- Every L2 has a distinct head term with no overlap.
- No product sits more than three clicks from home.
- Every category links to all its products through plain HTML links.
- Breadcrumbs match the primary path and carry BreadcrumbList markup.
- Each blog post links up to one category.
Common Ecommerce Site Structure Mistakes I See
The first is a flat mega-category. One “Shoes” page with 900 products and no subcategories buries most items and wastes the searches for specific shoe types.
The second is the opposite: five levels deep for a store with 60 products. Every extra level adds a click and a thin page. Small stores do better with fewer, fuller categories.
The third is navigation built only in JavaScript, where menus look fine in a browser but hand Google no crawlable links. Test with URL Inspection in Search Console and check the rendered HTML for real anchors.
When Structure Becomes a Rebuild
Changing labels and adding links is a normal afternoon’s work. Moving products between categories, renaming L1s or switching platforms is a migration, with redirects for every changed URL.
If your store is heading that way, plan it before anything goes live. Our ecommerce SEO service maps the tree from keyword data first, and a free audit will show where your current structure is losing products.
Frequently Asked Questions
What Is the Best Site Structure for an Ecommerce Website?
A shallow hierarchy: homepage, categories, subcategories, then products, with every product reachable in about three clicks through plain HTML links. Each category should own one search intent, filters with real demand become subcategories, and breadcrumbs mirror the path.
How Many Levels Should an Ecommerce Site Have?
Most small and mid-sized stores need two category levels above products. Google publishes no fixed number. Add a level only when a group of products has its own search demand; don’t add one just to organise inventory.
Do Breadcrumbs Still Help SEO After Google’s Mobile Change?
Yes. Since January 2025 Google shows breadcrumbs in desktop results only, but it still supports BreadcrumbList markup. Breadcrumb links also add crawlable paths up the hierarchy and help shoppers move between levels on any device.
Should Product URLs Include the Category Folder?
They don’t have to. Google’s John Mueller has said click depth matters more than URL folders, and a flat product URL survives category changes without redirects. Keep categories nested in URLs if you like, but give products one stable URL.
Last updated: September 2026 by Mizanur Rahman



