Ecommerce Site Structure: Categories, URLs and Sitemaps Search Engines Can Crawl

10xgrowth.club Editorial7 min read

Key takeaways

  • Design the structure around how shoppers browse: home, category, subcategory, product, with few clicks between them.
  • Control duplicate URLs created by filters, sorting and tracking parameters before they multiply.
  • A sitemap lists the pages you want indexed; it does not repair a weak structure. Keep it clean and current.

Site structure is the part of SEO nobody enjoys and everybody pays for later. A store that launches with sensible categories, readable URLs and tidy internal links grows without friction. A store that launches with a flat list of products and an accidental pile of filter URLs spends years untangling it. This guide explains how to plan a structure that works for shoppers and search engines at once, and how to keep it healthy as the catalogue grows.

Why structure matters more for stores than for blogs

A store has far more pages than a typical content site, most of them near-duplicates by design: the same product in different colours, the same collection sorted ten ways, the same listing with a filter applied. Google has [limited resources for crawling any one site](https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget), and duplicate URLs waste them. Google says that guidance matters mainly for sites with 1 million or more pages, or 10,000 or more pages that change daily; a smaller store usually does not need to manage crawl budget. It still pays to keep duplicates under control, because they dilute signals and bury the pages you care about.

Plan the hierarchy from the shopper's side

Start with the questions shoppers ask, not with your warehouse system. A clear store usually has three levels below the home page: department or main category, subcategory, product. Add a fourth only if the catalogue truly needs it. A rough test is whether a new visitor can reach any product in a few clicks without using search. The number is a rule of thumb, not a Google requirement.

Store structure: home, categories, subcategories, product pagesA four-level tree. The home page links to three categories, each category to two subcategories, and each subcategory to product pages. Filter and sort pages sit to the side and are crawl-controlled.HomeCategorySubcategoryProductHomeCategoryCategoryCategorySub-categorySub-categorySub-categorySub-categorySub-categorySub-categoryFilters and sort: crawl-controlled
Every page should be reachable in a few clicks from the home page and sit under exactly one parent. Filter and sort variations are kept out of the index unless they match a real search.
Data table for this figure
LevelRole
Homelinks to every main category
Categoryone page per shopper question
Subcategorynarrows the choice
Productone canonical URL each
Filters and sortcrawl-controlled, noindex by default
  • Name categories with the word shoppers use, not the internal code or the supplier term.
  • Each product should have one primary category, even if it appears in several lists.
  • Do not create a category for a single product; fold it into its parent.
  • Keep top navigation short enough to scan; deeper levels belong on category pages.

The case database shows how differently brands organise what they sell. Quidsi (Diapers.com) records “Category expansion (clothes, car seats, strollers, toys in late 2008) and sister site Soap.com”, a catalogue that widened from a single anchor category. Whatever the shape of your range, the structure should make the anchor obvious and the extensions easy to find.

URL rules that will not need rewriting

A URL should last for years. Use short, readable, hyphen-separated words that describe the page; Google's [ecommerce URL guidance](https://developers.google.com/search/docs/specialty/ecommerce/designing-a-url-structure-for-ecommerce-sites) also says to avoid session IDs, tracking codes and other temporary parameters in internal links. Mirror the hierarchy for categories and subcategories, and keep product URLs independent of category so that moving a product does not break its address. If you must change a URL, redirect the old one permanently to the closest equivalent and update internal links so you do not rely on the redirect.

URL patterns for a store
PagePatternNotes
Category/category-nameShort, one per concept
Subcategory/category-name/subcategory-nameOnly where the parent is useful on its own
Product/products/product-nameIndependent of category; one canonical URL
Guide/blog/guide-nameFlat, no category in the path
Filtered viewcategory with parametersUsually not indexed; see below

Faceted navigation: filters without the flood

Filters help shoppers narrow a long list, and each combination can create a new URL. Google notes that faceted navigation can produce [a very large number of URL combinations that cost sites substantial computing resources](https://developers.google.com/search/docs/crawling-indexing/crawling-managing-faceted-navigation). Decide up front which filter combinations deserve to rank. A filter that matches a real search, such as a colour or a size people ask for by name, can be a proper landing page with its own heading and copy. Most others should not be indexed.

Google's first suggestion is to disallow crawling of filter URLs in robots.txt, keeping a plain listing page and the product pages crawlable. Its alternatives are `rel="canonical"` pointing at the unfiltered page, which may reduce crawling of the variants over time, and `nofollow` on filter links. Test whatever you choose, because a wrong rule can hide pages you want found. Sorting, view-count and tracking parameters should not produce indexable pages.

Want the evidence, not the theory?

Every growth figure on this site is computed from a dated start and end value with linked sources.

Browse the cases

Navigation menus are only part of the picture. Crawlers also follow links inside the page, so use them on purpose. Category pages should link to their best subcategories and to a buying guide. Products should link to the next size, an accessory or a close alternative. Guides should link to the category and the specific products they discuss. Use descriptive link text, and use [`<a>` elements with an `href`](https://developers.google.com/search/docs/crawling-indexing/links-crawlable), because Google cannot reliably follow links that depend on script events. Google also warns that if category pages do not link to every product, [Googlebot may not find them by crawling alone](https://developers.google.com/search/docs/specialty/ecommerce/help-google-understand-your-ecommerce-site-structure); it does not run searches in your site's search box.

Look for orphans: pages with no internal links pointing to them. Seasonal pages, old landing pages and discontinued products are common orphans. Either link to them from somewhere sensible, or retire them.

XML sitemaps for a store

An XML sitemap lists the URLs you want search engines to know about. Google calls [submitting one a hint](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap), with no guarantee it will be used. Google ignores `priority` and `changefreq`, and uses `lastmod` only if it is consistently accurate. For a store, include indexable category, product and guide pages; leave out filtered variants, noindex pages, redirected addresses and error pages. Keep the file consistent with your canonical tags; Google treats sitemap inclusion as a [weak canonical signal](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls), so a URL listed there that the page marks as non-canonical sends mixed signals.

Generate it from the catalogue so it updates when products arrive or retire. A single sitemap is limited to 50,000 URLs or 50MB uncompressed, so larger sites need several files. Reference the file in robots.txt or submit it in Search Console, then check the report for errors. A sudden drop in indexed pages is worth investigating.

The same consistency applies to pages that are not ready. Our own articles awaiting editorial review are set to noindex and left out of this site's sitemap, so the file lists only what we are willing to have indexed.

robots.txt, status codes and redirects

Robots.txt controls what crawlers may fetch, not what appears in results. Google says a [disallowed page can still be indexed if other sites link to it](https://developers.google.com/search/docs/crawling-indexing/robots/intro); to keep a page out of results use noindex or a password, and a crawler blocked by robots.txt never sees the noindex tag. Stores commonly use robots.txt to keep crawlers out of cart, checkout, account and internal search pages, and to point at the sitemap.

Make status codes tell the truth. A live page returns a success code. A moved page returns a permanent redirect to its closest replacement, in one hop. A page that is gone for good returns [404 or 410](https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget), which Google treats as a strong signal not to crawl it again, and Google advises eliminating soft 404s because they keep being crawled. Redirect a missing product only to a genuinely close replacement, not by default to the home page.

Structure is a growth lever, not only a hygiene task

It is tempting to file this under maintenance. Consider the pace in our data: 15 of the 30 brands in our database reached their 10x in 24 months or less, and the median window is 27 months. Brands moving that fast keep adding products, markets and channels. 19 of them list a direct-to-consumer or own-site channel. Each addition lands on whatever structure exists, so a structure that absorbs a new range or channel without rework saves time.

Look at the growth paths of Brooklinen ($517K to $25M in 24 months, 48x) and Gymshark (£8.7M to £103.2M in 36 months, 11.9x). Their records describe marketing and distribution levers, not site architecture, so we do not claim that structure drove either result. The point is practical: expansion is where messy structure becomes expensive.

Brands that kept adding to the range

A quarterly structure audit

Improvement loop: measure, change one thing, read, keep or revertA repeating loop of five steps: Measure, then Pick one change, then Run the test, then Read the result, then Keep or revert. After keeping or reverting, return to measuring.Measurewhere shoppers drop offPick one changethe biggest leak firstRun the testsplit traffic fairlyRead the resultwith the metric you choseKeep or revertlog what you learnedRepeat
Change one thing at a time so a result can be traced to a cause, and write down what you learned either way.
Data table for this figure
StepDetail
Measurewhere shoppers drop off
Pick one changethe biggest leak first
Run the testsplit traffic fairly
Read the resultwith the metric you chose
Keep or revertlog what you learned
  1. Crawl the site and list every URL type. Count how many are products, categories, guides and parameter variants.
  2. Compare the crawl with the sitemap: URLs in one and not the other need an explanation.
  3. Check the click depth of your top products and categories.
  4. Find orphans, redirect chains and error pages, and fix the biggest group first.
  5. Review robots rules and canonical tags after any template or platform change.
  6. Check that internal links on guides still point to live, relevant pages.

For the pages that sit at the end of this structure, read our product page checklist. To decide what each category should target, start with keyword research for stores. And if you want to see how brands that grew fast organised their sales, the case database is the place to look.

About the author: 10xgrowth.club Editorial

Articles are written by the editorial team from the case database and from general e-commerce practice. Every figure is computed from the case files or links to a source. Read how we work or the 10x rule.

Spotted a mistake?

There is no comment form on this site. Errors are tracked on the corrections list described in the method.

Related articles

See the numbers behind every guide.

Browse the case database: dated start and end figures, linked sources, evidence level on every record.

Browse the cases