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.
| Structure | Typical shape | Strength | Risk |
|---|---|---|---|
| Flat | Home > Category > Product | Simple, every product close to the top | Large catalogues become hard to browse |
| Moderate | Home > Department > Category > Product | Balances browsing and clarity | Needs careful naming to avoid overlap |
| Deep | Home > A > B > C > D > Product | Detailed segmentation | Products 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:
| Pattern | Example | Notes |
|---|---|---|
| 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.
Step 4: plan internal links
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
| Problem | Symptom | Fix |
|---|---|---|
| Orphan products | Products exist but no category links to them | Add them to a category or merge or remove them |
| Overlapping categories | Two categories with the same products | Merge, or differentiate the intent |
| Excess depth | Important products need five or more clicks | Promote the category, add direct links, flatten |
| Unclear names | Internal jargon in navigation | Rename using search wording |
| URL changes without redirects | Traffic drops after a redesign | Map every old URL to a new URL with a 301 |
Migrating to a new structure
- Crawl the current site and export every URL, with its traffic and links.
- Design the new tree and the new URL for each category and product.
- Create a one-to-one redirect map from old to new URLs.
- Build and test on a staging site. Check canonicals, sitemaps and internal links.
- Launch, submit the new sitemap and keep the old redirects for at least a year.
- Monitor crawl errors and traffic, and fix gaps quickly.
How catalogue size changes the plan
| Catalogue | Typical approach | What to watch |
|---|---|---|
| Small (a few dozen products) | A handful of top-level categories, products linked directly, little or no subcategory depth | Do 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 colour | Overlap between categories and thin subcategories |
| Large (thousands of products) | Three or four levels, brand and collection pages, strong filtering rules | Crawl effort, orphan products and filter URLs |
| Marketplace-style or B2B | Category tree plus attribute-led landing pages and search by part number | Specification data stored as text, and sensible URLs for variants |
Navigation menus are not the same as structure
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
- Every category has a clear reason to exist and a clear target phrase.
- No important product is more than about three clicks from the homepage.
- Every product sits in at least one category and has one canonical URL.
- URL patterns are consistent, readable and free of parameters.
- Breadcrumbs match the hierarchy and carry matching markup.
- Navigation shows the most important categories and works on mobile.
- Filter and sort URLs are controlled.
- 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.



