Ecommerce Site Architecture: A Plain Guide for Store Owners

categories, filters, URLs, checked against Google Search Central

A tidy welcome to you.

Ecommerce site architecture is the way your categories, subcategories, filters and products link together. A clear structure lets shoppers and Google reach every product in a few clicks.

This guide covers flat versus deep structures, filters, product URLs, breadcrumbs and pagination, using Google’s own rules.

  • structure rules from Google Search Central
  • one step at a time
  • no ranking promises
store-structure.txtexample data
levelexample pagejob
Home/links to top categories
Category/running-shoes/broad group
Subcategory/running-shoes/trail/narrow group
Product/trail-shoe-alpine/one URL only

// example data for a made-up shoe store. Your store will use your own pages.

the short answer

The Structure in One Minute

Keep a short chain of links from the home page to categories, subcategories and products. Give each product one main URL, and keep filter pages out of the index unless they answer a real search.

Google reads your site mostly through the links between pages. So structure is not a diagram you draw once. It is the set of links a crawler can follow today.

Here is the short version. First, group products the way shoppers think. Second, link every group and every product with plain HTML links. Third, decide which filter pages deserve to exist in search. Fourth, pick one canonical URL per product. Fifth, add breadcrumbs. Sixth, make paginated lists crawlable. The sections below take each point in turn.

One honest note. Google publishes no perfect category tree and no promise that a tidy structure lifts rankings. What it publishes are rules about links, duplicates and crawling. That is what this guide follows.

the basics

What Ecommerce Site Architecture Means for a Store

It is the hierarchy of pages and the links between them. For a store, that usually means home, categories, subcategories and products.

Read the four stops below from left to right. Each level should link to the next one with a normal link.

start

Home page

links to the main categories and a few best sellers

01

Category

a broad group, such as running shoes

02

Subcategory

a narrower group, such as trail shoes

03

Product

one page per item, with its own URL

04

Related links

links back up and across to similar items

// built from Google Search Central: Help Google understand your ecommerce site structure. The layout and shoe example are mine (example data).

Google’s ecommerce page recommends this chain: menus link to categories, categories link to subcategories, and subcategories link to products. It also says every page should be reachable by following links.

Why Search Boxes Do Not Count

Google says products reachable only through a search box may be missed, because Googlebot generally does not run searches while it crawls. So a product with no category link is at risk of staying invisible. If you cannot link to every page, Google says a sitemap or a Merchant Center feed can act as a backup.

URLs Are Not the Structure

Many owners spend hours on folder paths. Google’s page says it mainly studies the links between pages, not URL patterns, to judge your structure. A neat path is nice for people. The links are what count.

flat vs deep

Flat Versus Deep: Which Fits Your Store?

A flat structure puts most pages a few clicks from the home page. A deep one adds more levels. Small catalogs suit flat, and large catalogs need some depth.

Google’s page gives no maximum number of levels. It does say that the number of links needed to reach a page helps show how important that page is, so pages closer to the home page are likely to look more prominent. The old “three clicks” rule is a habit among SEOs, not a Google limit.

QuestionFlatter structureDeeper structure
Best forUnder a few hundred productsThousands of products in many families
Clicks to a productTwo or threeFour or more
RiskHuge category pages that are hard to scanProducts buried far from the home page
FixAdd subcategories once a list grows longLink best sellers from higher levels

// example data and my opinion. Google publishes no ideal depth; its page says click distance helps signal importance.

My opinion is simple. Go as flat as your shoppers can bear, then add a level only when a list becomes hard to use. Depth is not the enemy. Burying a best seller five levels down is.

Promote What Matters

Google suggests linking to key categories and best sellers from your home page and from content such as blog posts or newsletters. More internal links signal greater relative importance. So a seasonal category can sit on the home page this month and move later.

step by step

Plan Categories and Subcategories

Start from how shoppers search, not from your supplier’s spreadsheet. Then give each group one clear page.

  1. List every product. Export your catalog into a sheet, one row per product, with its current URL and category.
  2. Group by shopper language. Ask what a customer would type. “Trail running shoes” beats “Footwear group 4”.
  3. Pick a primary home for each product. Each product gets one main category, even if it also appears elsewhere.
  4. Name levels clearly. Keep category names short and distinct, so two pages do not compete for the same search.
  5. Set the menu. Link top categories from the main menu with plain HTML links. Google says it generally follows only links that use an a element with an href.
  6. Write real category pages. Add a short intro, useful filters and links to subcategories. Do not leave a bare grid of thumbnails.
  7. Check for empty groups. Google says to avoid linking to or indexing empty category pages. Use a noindex tag or return a 404 status for them.

A Quick Example

Take a made-up kitchenware shop in Leeds (example data). Its top categories might be cookware, knives and baking. Under cookware sit pans, pots and casserole dishes. A cast-iron pan lives in “pans”, and the shop links it from a “cast iron care” article too. That one link from content tells shoppers and Google the pan matters.

If you run WordPress, my guide to categories versus tags explains how those two labels differ. For WooCommerce stores, product categories work the same way as the groups above.

filters

Faceted Navigation: Filters Without the Mess

Faceted navigation means filters such as color, size or price. Google warns that it can create a near-endless set of URLs, so decide early which ones may be crawled.

Google says crawlers often cannot tell that a filtered URL is useless until they fetch it. That wastes crawl time, strains your server and can slow the discovery of new pages. Picture a shoe store where color, size, brand and price mix into thousands of combinations. Most of them show the same few products.

If you do not need filtered pages in Google Search, Google describes four options. They are not equal.

OptionWhat it doesWhat Google says
robots.txtBlocks crawling of filter parameter URLsOne of the more effective ways; keep item pages and one full list crawlable
URL fragmentsPuts filters after a hash signGoogle Search generally ignores fragments for crawling and indexing
rel canonicalPoints filtered URLs to the base listMay reduce crawling over time, but slower and less reliable
rel nofollowMarks links to filtered pagesWorks only if every link to that URL has it

// summarized from Google Search Central: Managing crawling of faceted navigation URLs, checked 26 Nov 2026.

When You Want Filter Pages Indexed

Sometimes a filter matches a real search, such as “black running shoes”. Then you may let that one page be crawled. Google’s advice for those pages is to use the standard ampersand as the parameter separator, keep the filter order consistent and free of repeats, and return a 404 status for combinations with no results instead of redirecting them.

Here is my approach. Pick a small set of filters that match real searches, and give those pages unique titles and intro text. Block or leave out the rest. Google gives no list of which filters to index, so this is my opinion and your keyword data should decide.

Sort Orders Too

Google’s pagination page adds that sort orders and filters create duplicate variations of a list. To avoid indexing them, it suggests a noindex robots meta tag or a robots.txt rule. Pick one method per URL pattern and test it.

product URLs

One Product in Several Categories

Give each product one canonical URL, even when it appears in more than one category. Every other route should point back to that URL.

A trail shoe can sit in “running shoes” and in “waterproof shoes”. If your platform builds a different URL for each route, you now have duplicates. Google says it may fetch every duplicate before it realizes they match. That wastes crawling and splits your signals.

Pick one main URL

  • Use a short path such as /trail-shoe-alpine/
  • Keep the category out of the path if your platform allows it
  • Use the same form in links, sitemaps and canonical tags

Set the canonical tag

  • Each indexable page points to its own URL
  • Variant URLs point to the main product URL
  • Optional parameters point to the version without them

Keep casing consistent

  • Pick lowercase and stay with it
  • Do not mix trailing slash styles
  • Redirect old forms to the main one

Avoid temporary parameters

  • No session IDs in URLs
  • No tracking codes in internal links
  • No parameters without a key, such as ?green

// from Google Search Central: Designing a URL structure for ecommerce sites. The shoe example is made up (example data).

Google also covers variants. It says each size or color combination can have its own URL, as a path such as /t-shirt/green or a parameter such as /t-shirt?color=green. It warns against fragments like #black for different content, because Google ignores them when indexing.

Does the category belong in the product path? Google’s page does not require it. If the path includes a category, the same product gets a new path in every category it joins. So I prefer paths without categories. That choice is mine, not a Google rule.

breadcrumbs

Breadcrumbs and Structured Data

Breadcrumbs show where a page sits in your hierarchy. Mark them up with BreadcrumbList data so Google can read the trail.

A breadcrumb trail looks like Home, Running Shoes, Trail Shoes. Shoppers use it to step back one level. Google’s ecommerce page lists breadcrumb data as a way to help it understand how your pages are organized, and it can give a clearer trail in search results.

What Google Requires

  • A BreadcrumbList with at least two list items.
  • Each item has a position number, starting at 1.
  • Each item has a name, which is the label people see.
  • Each item has a URL, though the last one may be left out, and Google then uses the current page.

Google says you do not have to include the home page or the current page in the trail. It also says to base trails on a realistic path a user would take, not simply on the URL structure.

Products With Two Trails

If shoppers can reach a page by different paths, Google says you can mark up more than one trail. In JSON-LD you wrap several BreadcrumbList objects in an array. That helps when a product sits in two categories, as in the section above. Keep the canonical URL the same either way.

After you add the markup, test it with the Rich Results Test, then inspect a few live pages with the URL Inspection tool. Google says to allow several days for recrawling. For the wider topic, read my schema markup guide. Your SEO plugin or app may add breadcrumbs for you, and my lists of WooCommerce SEO plugins and Shopify SEO apps are a place to start.

internal links

Internal Links That Carry the Structure

Your menus build the hierarchy, and extra links inside content and product pages build the connections between branches.

Google’s link page is blunt about the basics. It generally follows only a elements with an href attribute. A button that runs a script, or a span with a click handler, may be missed. Filters and “load more” buttons often fall into this trap.

Do

  • Use real links with descriptive anchor text
  • Link every product from at least one category
  • Link related products in context
  • Link best sellers from higher pages

Avoid

  • Anchor text such as click here
  • Product pages with no inbound links
  • Clusters of adjacent links that blur together
  • Forcing keywords into every anchor

// summarized from Google Search Central: SEO link best practices (crawlable links and anchor text), checked 26 Nov 2026.

Google says there is no ideal number of links, but a page with an excessive number is probably overdoing it. That matters for mega menus that list hundreds of products on every page. Keep menus to the groups shoppers use.

Content helps too. A buying guide that links to three categories passes readers and crawlers along. My guide to internal linking plugins for WordPress compares tools that suggest links. Treat any tool as a helper, because you still choose the anchors.

pagination

Pagination Without Trouble

Give each page of a long list its own URL and link to the next page with a normal link. Google no longer uses rel next and prev.

A category with 400 products cannot show them all on one page. Google’s pagination page sets out the rules.

  • Use a unique URL per page, such as ?page=2. Fragments do not work, because Google ignores them.
  • Give each page its own canonical. Do not point every page at page one.
  • Link pages with a href links. Google’s crawlers do not click buttons or run scripts that need user action.
  • Load more buttons and infinite scroll need crawlable links too.
  • Pages in a series may share titles and descriptions.

The page also notes that Google used rel next and rel prev before but no longer does, while other search engines may still use them. Linking every page back to page one can signal that page one is the better landing page, so link in order instead.

// from Google Search Central: Pagination, incremental page loading and their impact on Google Search, checked 26 Nov 2026.

If you want a shorter journey for deep products, add links from page one to your best sellers. That keeps important items close to the top without breaking the series.

common mistakes

Architecture Mistakes and Their Fixes

Most structure problems come from growth. The store adds filters, tags and categories, and nobody tidies the links.

Filters create endless URLs

Block or limit filter parameters, following Google’s four options. Let only a few high-demand filter pages be crawled.

One product, many URLs

Choose one canonical URL and point variants and category paths to it.

Orphan products

A product no category links to is easy to miss. Add it to a category, or at least a sitemap.

Empty category pages

Google says to avoid linking to or indexing them. Use noindex or a 404 status.

Script-only navigation

Swap click handlers for real links so crawlers can follow them.

Everything canonical to page one

Each page in a list needs its own canonical URL.

Sale pages deserve a special note. A permanent sale page that you reuse each year keeps its links and history. My Black Friday SEO timeline shows that approach, and it fits well into this structure.

verify it

How to Check It Worked

You know it worked when crawlers reach every product by links, and filters and duplicates stay out of the index.

  1. Crawl your own site. Run a free crawler and list products at depth four or more, and products with no inbound link.
  2. Compare to your sitemap. Every sitemap product should also appear in the crawl. Gaps point to orphans.
  3. Check Search Console. Look at the Pages report for duplicates, and the Crawl stats report for a flood of parameter URLs.
  4. Inspect sample URLs. Use URL Inspection on a product, a category and a filtered page, and read the canonical Google chose.
  5. Test breadcrumbs. Run a few pages through the Rich Results Test.
  6. Search your site. Type a site: search with a parameter, such as color=, and see if filter URLs show.

My technical SEO guide explains crawling and indexing in more depth. Change a few things at a time, then check again. If you change URLs, plan redirects first, because a restructure can break links.

timing

How Long It Takes

Expect days to weeks for Google to recrawl, and longer for a big catalog. Google publishes no fixed time.

Google says to allow several days after adding breadcrumb data. Crawling a large store can take longer, and Google’s faceted page says clutter slows the discovery of new pages. I will not promise a ranking or traffic change from a restructure. Better crawling is the goal, and sales depend on many other things.

Small stores can fix most of this in an afternoon. Big catalogs, several languages or a platform change take planning. If you want a second pair of eyes, my ecommerce SEO services include a look at categories, filters and product data, and the price is on the page. You can also compare plans on the pricing page.

faq

Architecture Questions

What is ecommerce site architecture?

It is the way your categories, subcategories, filters and products are organized and linked. Google mainly reads that structure through the links between pages, so clear links matter more than neat folder paths.

How many clicks should a product be from the home page?

Google publishes no limit. Its page says the number of links needed to reach a page helps show its importance, so closer is likely better. Aim for as few clicks as your catalog allows.

Should I block filter pages in robots.txt?

Often yes, if you do not need them in search. Google lists robots.txt as an effective way to stop crawling of filter URLs. Keep product pages and one full list crawlable, and let only filters that match real searches through.

What do I do when a product sits in two categories?

Give it one canonical URL and point other routes to it. You may add two breadcrumb trails in markup, since Google says multiple trails are allowed for one page.

Does Google still use rel next and rel prev?

No. Google’s pagination page says it used them before but no longer does. Give each page its own URL and canonical, and link pages with normal links.

Do I need breadcrumb markup?

It is optional, but Google says breadcrumb data helps it understand how your pages are organized and can show a clearer trail in results. It needs at least two items, each with a position and a name.

want a second opinion?

Send Me Your Store Link. I’ll Tell You What I’d Check.

If your categories, filters or product URLs feel out of control, I can look at the structure with you. My cheap SEO services start from one WhatsApp message.

sources

Sources and Last Check

// last checked 26 Nov 2026. Google can change these pages, so check the current wording before you act. All store examples are made up (example data).