How to Structure an Ecommerce Website for Google
A good structure is far easier to build from the start than to retrofit later. This guide is the practical, step-by-step version: how to research your categories, map a shallow hierarchy, build clean URLs and wire the whole store together with internal links that help it rank.
Build a shallow, logical hierarchy that runs from the homepage to categories, then subcategories and products, with any page reachable in about three clicks. Group categories by how customers search, mirror that hierarchy in clean URLs and tie everything together with clear navigation and internal links. Plan it first, because it is painful to rebuild later.
How to lay it
out for Google
Target depth
Any page within about three clicks of the homepage.
Plan early
Structure is far cheaper to plan than to rebuild later.
The principle
Group and link pages the way shoppers actually search.
Building the structure in order
Structure is best built in a set order, so each step sets up the next. Here is the process we follow, from grouping products to wiring up the internal links, all aimed at a store Google can crawl and shoppers can navigate.
Step 1: research your categories
Start by listing every product and grouping them by how customers actually search, not by how your business thinks of them internally. Use a tool like Semrush to see the terms people use and the demand behind each one. Those search patterns become your categories and subcategories, so the structure matches real intent rather than internal jargon.
Step 2: map a shallow hierarchy
Sketch the hierarchy from the homepage down: top-level categories, then subcategories where needed, then products. Keep it shallow, aiming for any page to sit within about three clicks of the homepage. A shallow, logical tree keeps even a large catalogue manageable and makes sure no page is stranded too deep for Google to reach or rank.
Step 3: build clean URL paths
Make your URLs mirror the hierarchy, so a product sits under its category in a readable path. Keep them lowercase and hyphenated, without messy parameters where possible. Clean URLs tell Google and shoppers exactly where a page belongs. Set them sensibly from the start, because changing URLs later without redirects can cost rankings.
Step 4: design the main navigation
Your menu is how most shoppers and crawlers move through the store. Put your top categories in the main menu. For a large catalogue use a clear mega menu rather than burying things. The navigation should make the hierarchy obvious at a glance, so anyone can reach the section they want in one or two clicks.
Step 5: add breadcrumbs
Breadcrumbs show the path back up the hierarchy, like Home then Category then Product. They help shoppers orient themselves and reinforce the structure for Google, which can show them in search results. They are a small addition that strengthens both the user experience and the way search engines understand your layout.
Step 6: handle filters and facets
Faceted filters such as size, colour and price can spawn thousands of near-duplicate URLs if left unchecked, which wastes crawl budget and splits authority. Use canonical tags, noindex rules or controlled parameters so Google focuses on your main category pages. Handled properly, filters help shoppers without flooding the index with duplicates.
Step 7: wire up internal links
Finally, connect everything. Link from categories down to products, between related products and from content like guides to the relevant pages. Make sure no page is an orphan with no links pointing at it. Strong internal linking spreads authority through the structure and keeps shoppers moving toward a purchase rather than hitting dead ends.
Three rules for
structuring a store
Get it right early
Structure is far cheaper to plan before you build than to fix afterwards. A rebuild on a live store risks rankings, so invest the thinking up front.
Three clicks to anything
Keep every important page within about three clicks of the homepage. The shallower the structure, the easier the whole store is to crawl and rank.
Predictable beats clever
A consistent, predictable pattern helps Google and shoppers alike. Clever, one-off structures tend to confuse both, so keep it simple throughout.
A structure you can
build step by step
Work left to right, each stage setting up the next.
The rules to
build by
Want it built for you?
Getting the structure right from the start is one of the highest-value things you can do. It is also one of the hardest to retrofit. Our ecommerce service starts from £350 a month. A free audit will map out the ideal structure for your store.
Build it like this vs
not like this
A structure that ranks
- Categories grouped by how people search
- A shallow three-click hierarchy
- URLs that mirror the structure
- A clear menu and breadcrumbs
- Internal links to every page
A structure that fails
- Categories based on internal jargon
- Products buried five clicks deep
- Random or parameter-heavy URLs
- A cluttered or hidden menu
- Pages with no links pointing in
Where to go next
If you want the reasoning behind all this, Ecommerce Site Structure and SEO explains how structure affects rankings. Once the layout is built, Ranking Category Pages on Google shows how to optimise the categories at its heart. And Ranking Product Pages on Google covers the product pages that sit beneath them.
Every guide here sits inside our SEO Guides for Ecommerce Businesses hub, so you can build your store the right way from the ground up. When you would rather hand it over, our Ecommerce SEO Services page explains how we structure stores across the UK.
Keep exploring
Build it right
the first time.
We will map the ideal structure for your store and show you exactly how to build it, free. No generic report, no sales pitch. Ecommerce SEO from £350 per month.