Ecommerce SEO studio · plain-English audits · no ranking promises[email protected]
Architecture

Ecommerce site structure: how to plan categories, URLs and links

10 min readUpdated 2026-11-23By the Emac Media team
Stacked blue and brown shipping containers

Site structure is the shape of your store: which categories exist, how they nest, how products are attached and how pages link to each other. It is the least glamorous part of ecommerce SEO and often the most valuable, because it affects crawling, how relevance flows between pages and how easy your store is to shop.

This guide explains the principles and gives a practical planning method. You can test a draft structure with our free site structure and URL planner, which lists the URL, depth and common problems for each category you enter.

Why structure matters

  • Crawling: search engines find pages by following links. Pages that are many clicks from the homepage, or that nothing links to, may be crawled rarely or not at all.
  • Relevance: a clear hierarchy tells search engines how topics relate. A product inside "Running shoes" inside "Shoes" is easier to understand than a product in an unlabelled pile.
  • Authority flow: links from strong pages, including your homepage, pass value down. A structure decides where that value goes.
  • Usability: people shop by narrowing down. A tidy tree helps them do that.

Flat versus deep: finding the middle

A structure that is too flat puts hundreds of categories on one level and overwhelms visitors. A structure that is too deep buries products behind five or six levels of clicks. Most stores work best with two to four levels: top-level department, category, optional subcategory, then products.

StructureTypical shapeStrengthRisk
FlatHome > Category > ProductSimple, every product close to the topLarge catalogues become hard to browse
ModerateHome > Department > Category > ProductBalances browsing and clarityNeeds careful naming to avoid overlap
DeepHome > A > B > C > D > ProductDetailed segmentationProducts buried, weak links to lower levels

Step 1: audit what you have

Export every category and its product count. Mark categories with fewer than a handful of products, categories that overlap and products that appear nowhere in a category tree. Also export the top landing pages from Search Console so you know which categories already attract searches. Do not rearrange them without a good reason.

Step 2: design the tree around how people shop

Group products the way customers think. A shop selling bikes might group by type (road, mountain, kids) rather than by supplier, even if the stock system is organised by supplier. Use plain labels and check them against real searches: the research method in ecommerce keyword research will show whether people say "trainers" or "sneakers".

  • One clear reason for every level. If a level does not help someone choose, remove it.
  • Siblings should be of the same kind. Do not mix product types and brands at one level without a reason.
  • Aim for balanced branches, not one category with 400 products and another with 3.
  • Use filters for attributes such as colour and size, and categories for different types of product.

Step 3: choose a URL pattern

URLs should be readable, short and permanent. Pick a pattern and apply it everywhere. These are the common options:

PatternExampleNotes
Category with nested path/shoes/running/Shows hierarchy. Longer, and changes if categories move
Flat category/running-shoes/Short and stable. Hierarchy shown through breadcrumbs
Product under category/shoes/running/model-name/Context in URL, but duplicates if a product sits in two categories
Flat product/products/model-name/One URL per product, simple canonicals

Neither nested nor flat is universally better. Pick the one your platform handles cleanly. Whatever you choose, avoid changing it later without a redirect plan, because URLs carry history.

  • Lowercase, with hyphens between words.
  • No spaces, underscores, session IDs or tracking parameters in indexable URLs.
  • Remove filler words where it does not change meaning, but do not strip words that make the URL unclear.
  • Keep one URL per page, and canonicalise duplicates.

Structure is not only the tree. It is also the cross-links. Plan these deliberately:

  • Down: each category links to its subcategories and to top products.
  • Up: products and subcategories link back to the parent through breadcrumbs and text.
  • Across: related categories link to each other, such as tents to sleeping bags.
  • From content: guides link to the categories and products they discuss.
  • From the homepage: link to the few categories that matter most, not all of them.

Use descriptive anchor text, and make sure the links are standard HTML links. Menus that only work through scripted events can hide categories from crawlers.

Step 5: breadcrumbs

Breadcrumbs show where a page sits in the hierarchy. They help shoppers go up a level and give search engines a clear signal. If a product belongs to several categories, show a single primary breadcrumb path rather than changing it depending on how the visitor arrived, so the markup stays consistent.

Step 6: handle products in multiple categories

A product may belong in two places, such as a waterproof jacket in "Jackets" and "Walking". Choose a primary category for the URL and breadcrumb, list the product in the second category through a normal link, and keep a single canonical URL. Avoid creating a separate URL per category.

Step 7: decide what not to index

Cart, checkout, account pages, internal search results and unlimited filter combinations rarely belong in the index. Provide an XML sitemap containing only canonical, indexable pages, and keep it in sync with your structure. See faceted navigation SEO for the filter rules.

Common structure problems

ProblemSymptomFix
Orphan productsProducts exist but no category links to themAdd them to a category or merge or remove them
Overlapping categoriesTwo categories with the same productsMerge, or differentiate the intent
Excess depthImportant products need five or more clicksPromote the category, add direct links, flatten
Unclear namesInternal jargon in navigationRename using search wording
URL changes without redirectsTraffic drops after a redesignMap every old URL to a new URL with a 301

Migrating to a new structure

  1. Crawl the current site and export every URL, with its traffic and links.
  2. Design the new tree and the new URL for each category and product.
  3. Create a one-to-one redirect map from old to new URLs.
  4. Build and test on a staging site. Check canonicals, sitemaps and internal links.
  5. Launch, submit the new sitemap and keep the old redirects for at least a year.
  6. Monitor crawl errors and traffic, and fix gaps quickly.

How catalogue size changes the plan

CatalogueTypical approachWhat to watch
Small (a few dozen products)A handful of top-level categories, products linked directly, little or no subcategory depthDo not invent levels for the sake of it. A flat store is fine
Medium (hundreds of products)Two or three levels, with filters for attributes such as size and colourOverlap between categories and thin subcategories
Large (thousands of products)Three or four levels, brand and collection pages, strong filtering rulesCrawl effort, orphan products and filter URLs
Marketplace-style or B2BCategory tree plus attribute-led landing pages and search by part numberSpecification data stored as text, and sensible URLs for variants

A mega menu shows a slice of your structure to people. The structure itself lives in the links across your whole site. A common mistake is to build a menu with 80 links on every page, which dilutes the importance of any single link, then wonder why deep categories are rarely crawled. Keep the main menu to the categories that matter most, and use category pages, breadcrumbs, related links and footer links for the rest.

Test menus on a phone. If a category can only be reached through a hover state on desktop, it may be hard for some visitors and for crawlers to reach.

Brand, collection and guide pages

  • Brand pages: useful when shoppers search by brand. Give them a short introduction and link them from the relevant categories, not only from a brand index.
  • Collections and seasonal pages: keep a permanent URL and change the contents, rather than creating a new URL each year.
  • Guides: a small hub of buying guides can sit beside the category tree and link into it. See keyword research for how to choose topics.

A structure checklist

  1. Every category has a clear reason to exist and a clear target phrase.
  2. No important product is more than about three clicks from the homepage.
  3. Every product sits in at least one category and has one canonical URL.
  4. URL patterns are consistent, readable and free of parameters.
  5. Breadcrumbs match the hierarchy and carry matching markup.
  6. Navigation shows the most important categories and works on mobile.
  7. Filter and sort URLs are controlled.
  8. The XML sitemap lists only canonical, indexable pages.

Using the planner

Open the site structure planner, enter your categories with two spaces of indentation per level, and choose a URL style. It shows the URL path, depth, character length and warnings for deep, long or duplicate paths. The sample list is an example, and nothing you type leaves your browser.

Structure is the foundation for category and product work. Continue with the category page SEO guide and the ecommerce SEO checklist, or ask about our technical ecommerce SEO service.

Quick answers

How deep should an ecommerce site be?

As shallow as your catalogue allows. A common rule of thumb is that important products should be reachable within three clicks, but there is no hard limit. Clarity for shoppers matters more than a number.

Should product URLs include the category?

It is optional. Including the category can add context but creates duplicates if a product sits in several categories. A flat product URL with a canonical rule is often simpler to maintain.

What is the best ecommerce URL structure?

Short, lowercase, hyphenated, readable and stable. Use the words shoppers use and avoid IDs, parameters and unnecessary levels.

Can I change my site structure safely?

Yes, but treat it as a migration. Map every old URL to its new equivalent with a 301 redirect, update internal links and sitemaps, and monitor Search Console afterwards.

Want a second pair of eyes on your store?

Ship to: your organic channel

Ready when you are

Send your store address and a few lines about what you sell. We reply with a short, honest list of what to look at first.