Ecommerce SEO Guides · Technical · 10

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.

Updated: May 2026
Written by: Andrew Odgers, MD
Reading time: 7 min
Quick answer

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.

The build principles

How to lay it
out for Google

3clicks

Target depth

Any page within about three clicks of the homepage.

First

Plan early

Structure is far cheaper to plan than to rebuild later.

Logical

The principle

Group and link pages the way shoppers actually search.

The step-by-step

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.

The guiding rules

Three rules for
structuring a store

01 · Plan first

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.

02 · Stay shallow

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.

03 · Be consistent

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.

The build order

A structure you can
build step by step

Work left to right, each stage setting up the next.

Four stages, built in order
Research
1List your products
2Group by search
3Name categories
4Check demand
Hierarchy
1Top categories
2Logical subcategories
3Three clicks max
4No orphan pages
URLs and nav
1Mirror the hierarchy
2Clean slugs
3Clear main menu
4Breadcrumbs
Links
1Category to product
2Related products
3Contextual links
4XML sitemap
Research what people search, map a shallow hierarchy, build clean URLs and navigation, then wire it together with internal links. Done in that order, you build a store Google can crawl fully and shoppers can navigate fast. Structure first saves a painful rebuild later.
Build by these

The rules to
build by

Three clicks maxKeep any page close to the homepage.
Group by searchCategorise the way customers actually look.
Mirror in URLsLet the path reflect the hierarchy.
Link it togetherNo page left without internal links pointing in.
Done for you

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.

Do vs do not

Build it like this vs
not like this

Build it 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
Avoid building this

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
Part of: This is guide 10 in our full ecommerce SEO library, the build-it-yourself structure guide.
SEO Guides for Ecommerce Businesses →

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.

Free, no obligation

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.

Frequently asked

How to structure an ecommerce website

How should I structure an ecommerce website?
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 the hierarchy in clean URLs and tie everything together with clear navigation and internal links.
What is the three-click rule?
It is a rule of thumb that any important page should be reachable within about three clicks of the homepage. The shallower a page sits, the easier it is for Google to crawl and the more authority it tends to receive. It keeps even large catalogues navigable for shoppers and search engines.
How should ecommerce URLs be structured?
URLs should mirror your site hierarchy, so a product sits under its category in a clean, readable path. Keep them lowercase and hyphenated, without messy parameters where possible. URLs that reflect the structure help Google and shoppers understand where a page belongs.
How do I handle filters in my structure?
Faceted filters like size and colour can create thousands of near-duplicate URLs if left unchecked. Use canonical tags, noindex rules or controlled parameters so Google focuses on your main category pages rather than every filtered combination. Handled well, filters help shoppers without harming SEO.