Free SEO audit for new clients — claim yours
Home/Blog/Ecommerce/Ecommerce Site Structure for SEO: How to Organis…
Ecommerce

Ecommerce Site Structure for SEO: How to Organise Your Store

Ecommerce Site Structure for SEO: How to Organise Your Store
Table of contents
  1. Key Takeaways
  2. What Good Ecommerce Structure Looks Like
  3. Plan Categories From Keyword Data
  4. URL Structure for Online Stores
  5. Navigation, Breadcrumbs and Internal Links
  6. Faceted Navigation and Filters
  7. How to Restructure an Existing Store: Step by Step
  8. Common Mistakes
  9. Related Guides
  10. Frequently Asked Questions
    1. How many clicks from the homepage should products be?
    2. Should product URLs include the category?
    3. Should filter pages be indexed?
    4. Is a flat or deep structure better for ecommerce SEO?
    5. Do I need an HTML sitemap?
  11. Conclusion
  12. References

An online store can have brilliant products and still struggle in search because of the way its pages are organised. Products buried six clicks deep, categories that overlap, filters that spawn millions of URLs and product URLs that change every time a product moves category all make it harder for Google to find, understand and rank what you sell.

Site structure is the blueprint behind every other ecommerce SEO tactic. It decides which pages collect internal link authority, which pages target which keywords, and whether shoppers can find a product in two clicks or give up.

This guide focuses specifically on online stores. It covers how to plan a category hierarchy from keyword data, how to structure URLs and navigation, how to handle filters and variants, and a step-by-step process for restructuring an existing shop without losing rankings. For general principles that apply to every site, see our broader guide to site architecture.

Key Takeaways

  • Use a shallow hierarchy: Home > Category > Subcategory > Product, so important pages sit within about three clicks of the homepage.
  • Build categories around how people search, using keyword research to decide which category and subcategory pages deserve to exist.
  • Link to every product you want indexed with crawlable HTML links; Google may not find products reachable only through site search.
  • Control faceted navigation so only valuable filter combinations become indexable pages.
  • Keep product URLs stable and independent of category paths where products sit in several categories.

What Good Ecommerce Structure Looks Like

Most successful stores follow the same pattern: a homepage linking to a small set of top-level categories, each linking to subcategories, which list products. Supporting content (buying guides, comparison articles) links into categories and products from the side.

Google's ecommerce documentation explains that it uses links to understand how pages relate and which ones matter, and it is direct about product discovery:

“It's strongly recommended to link to all products that you wish indexed.”

— Google Search Central, Help Google understand your ecommerce site structure

The same page recommends linking to your most important products from the homepage or other prominent content, and using a sitemap or a Merchant Center feed as a fallback when you cannot link to everything.

LevelExampleTypical keyword targetRole
Homepage/Brand and broadest category termsDistributes authority to top categories and key products
Category/womens-shoes/Broad, high-volume head terms ("women's shoes")Main ranking page for the segment
Subcategory/womens-shoes/running/Mid-tail terms ("women's running shoes")Captures more specific commercial intent
Filtered landing page (selected)/womens-shoes/running/wide-fit/Long-tail with real demand ("wide fit running shoes women")Indexable only when search demand justifies it
Product/products/brand-model-name/Product names, model numbers, specific long-tailConverts high-intent searchers
Guides and blog/guides/how-to-choose-running-shoes/Informational queriesAttracts links and passes them to categories

Plan Categories From Keyword Data

Category pages usually carry the highest-volume commercial keywords in a store, so the hierarchy should mirror how shoppers search rather than how your warehouse is organised. A practical approach:

  • Group keywords by intent. Each category or subcategory should target a distinct group of queries. If two planned pages would target the same group, merge them.
  • Check search demand before creating pages. A subcategory with almost no search demand and a handful of products may be better as a filter than a page.
  • Use the shopper's language. "Sofas" or "couches"? Search data, not internal jargon, should decide the label.
  • Keep it balanced. Avoid one category with 2,000 products next to another with three.

Our guides to category page SEO and keyword mapping go deeper on assigning keywords to pages.

URL Structure for Online Stores

Google's ecommerce URL guidance recommends descriptive words rather than numeric IDs, consistent URL formats across internal links, sitemaps and canonicals, and key=value query parameters rather than unusual separators. Two points matter especially for stores:

  • Product URLs and categories. If a product can live in several categories, including the category in its URL can create duplicates (/mens/sale/jacket and /mens/coats/jacket). Many stores use a flat product path such as /products/jacket-name/ and rely on breadcrumbs for context.
  • Variants. Give variants their own URLs with a path segment or query parameter if they deserve to be found separately, and canonicalise to the main product URL when they do not. Do not rely on fragments for different content:

“Google does not use fragment identifiers in indexing.”

— Google Search Central, Designing a URL structure for ecommerce sites
Product URL patternExampleProsCons
Flat product path/products/trail-runner-x/One URL per product; stable when categories changeURL alone does not show category context (breadcrumbs fix this)
Category in path/womens-shoes/running/trail-runner-x/Shows hierarchy in the URLDuplicates if the product sits in several categories; URLs break when categories are renamed
ID-only path/p/48213Simple for developersNo descriptive words for users or search engines
Variant as parameter/products/trail-runner-x?color=blueShareable variant URLs; canonical can point to the main productNeeds consistent parameter handling

See our guide to SEO-friendly URLs for formatting rules.

  • Main menu: top-level categories and the most important subcategories, rendered as standard <a href> links, not JavaScript click handlers.
  • Breadcrumbs: show the path (Home > Women's Shoes > Running) and link each level. Add BreadcrumbList structured data; see breadcrumbs and SEO.
  • Category pages: link directly to products, with crawlable pagination for long lists.
  • Product pages: link back up to the category and across to related or complementary products.
  • Content: buying guides should link to the categories and products they recommend.
  • Homepage: feature best sellers and seasonal categories so they gain extra internal links.

Faceted Navigation and Filters

Filters for size, colour, brand and price are essential for shoppers but dangerous for crawling: a few filters can combine into millions of URLs. Decide which combinations have real search demand (for example "black leather sofas") and make those indexable landing pages with unique titles and copy. Keep the rest out of the index and, ideally, out of the crawl path with consistent parameters and robots.txt rules. Our dedicated guide to faceted navigation SEO walks through the options in detail.

How to Restructure an Existing Store: Step by Step

  1. Crawl the current site with a tool such as Screaming Frog (see our beginner's guide) and export all category, product and filter URLs with crawl depth and inlinks.
  2. Pull performance data: clicks, impressions and revenue per URL, so you know which pages must be protected.
  3. Run keyword research for every product type and map keyword groups to planned categories and subcategories.
  4. Design the new hierarchy in a spreadsheet: one row per page, with URL, parent, target keywords and the old URL it replaces.
  5. Create a redirect map for every URL that changes, pointing each old URL to its closest new equivalent with a 301.
  6. Update navigation, breadcrumbs, internal links, canonicals and sitemaps to use the new URLs directly.
  7. Test on staging: crawl it, check for broken links, redirect chains and orphaned products.
  8. Launch and monitor Search Console coverage and performance, recrawl the old URL list to confirm redirects, and fix issues quickly.

Common Mistakes

  • Too many thin categories. Dozens of near-empty categories dilute internal links and create thin pages.
  • Products reachable only through search or filters. If no crawlable link points at a product, Google may never find it.
  • Category paths in product URLs when products sit in several categories, creating duplicate URLs.
  • Indexable filter combinations with no search demand, wasting crawl activity.
  • Changing URLs without redirects during a replatform or redesign.
  • Removing empty or seasonal categories carelessly. Our guide to out-of-stock and discontinued products explains what to do instead.

Once the skeleton is right, improve what sits on it with our product description guide and ecommerce SEO checklist.

Frequently Asked Questions

How many clicks from the homepage should products be?

Aim for important products to be reachable within about three clicks. Large catalogues may need more, but stronger internal links and featured links help important products sit closer to the top.

Should product URLs include the category?

Only if each product lives in one category and categories rarely change. Otherwise, a flat path such as /products/product-name/ avoids duplicate URLs and broken links when products move.

Should filter pages be indexed?

Only filter combinations with real search demand and enough products deserve indexable landing pages with unique content. Keep the rest out of the index and limit their crawling.

Is a flat or deep structure better for ecommerce SEO?

A shallow but organised structure works best: few levels, clear categories and subcategories, and strong internal linking. Completely flat structures lose topical grouping; very deep ones bury products.

Do I need an HTML sitemap?

It is not required, but it can help large stores expose categories to users and crawlers. An XML sitemap is the more important tool for discovery.

Conclusion

A strong ecommerce structure is shallow, keyword-led, crawlable and stable. Plan categories from search demand, keep product URLs independent of category paths, link to every product you want indexed and keep filters on a tight leash. Then measure the impact in Search Console and revenue, not just rankings.

Planning a restructure or replatform? Our ecommerce SEO services include architecture planning, redirect mapping and post-launch monitoring. Request a quote to get started.

References

  1. Help Google understand your ecommerce site structure – Google Search Central
  2. Designing a URL structure for ecommerce sites – Google Search Central
  3. Share your product data with Google – Google Search Central
  4. Website Architecture: Best Practices for SEO Site Structures – Semrush Blog
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Ecommerce SEO Checklist for Online Stores
Ecommerce

Ecommerce SEO Checklist for Online Stores

A practical ecommerce SEO checklist covering structure, product and category pages, technical health, product data and measurement, based on Google's own ecommerce guidance.

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote