Large sites don't fail at SEO because of one bad page. They fail because a template multiplies a small mistake by a million. Faceted navigation, the filters on category and search pages, is the classic example: five filters with ten values each can generate more URL combinations than you have products, and every one of them looks like a new page to a crawler. This lesson covers how to architect large catalogs and directories so that the right pages get indexed and the rest stay out of the way.
Large-scale website architecture
At enterprise scale, think in templates and URL patterns, not pages. A typical e-commerce site has a handful of templates (home, category, subcategory, product, brand, search, content) but millions of URLs. For each template, decide explicitly:
- Which URLs from this template should be indexable?
- What's the canonical form of each URL?
- How are these URLs discovered (links, sitemaps)?
- How much crawling should this template receive relative to its value?
Write the answers down as a policy, enforce it in code, and monitor it with crawls, logs, and Search Console. When a new feature adds URL parameters, it should go through the same review.
Faceted navigation
Facets are attributes users can filter by: brand, size, color, price range, rating, availability. Faceted navigation combines them, often with sorting and pagination:
/running-shoes/?brand=trailco&color=blue&size=10&sort=price-asc&page=2
For users this is essential. For search engines it creates three problems:
- Crawl explosion: the number of combinations grows multiplicatively, and crawlers can spend most of their effort on filter URLs (lesson 11).
- Duplicate and near-duplicate content: many combinations show the same or nearly the same products.
- Thin pages: combinations with zero or one result have little value as search landing pages.
Parameter-based URLs, filtering, and sorting
Different parameters play different roles. Classify them before deciding how to handle them:
- Narrowing filters that match real searches:
brand,type, sometimescolororgender. A page for "blue trail running shoes" may serve real demand. - Narrowing filters without search demand:
size=10,price=50-100,rating=4plus. Useful to people, rarely worth indexing. - Reordering parameters:
sort,view=grid. Same products in a different order: never worth indexing separately. - Pagination:
page=2. Different items, needed for discovery; usually self-canonical and indexable or at least crawlable. - Tracking and session parameters: should never appear in internal links.
Indexable versus non-indexable combinations
A practical rule set for an e-commerce catalog:
- Index the category page and a curated set of one-facet (sometimes two-facet) combinations that match meaningful search demand and have enough products, such as brand within category, or type within category.
- Give each indexable combination a clean, static-looking URL, a unique title, H1, and description, and link to it from the category page as normal navigation:
/running-shoes/trailco/rather than?brand=trailco. - Don't index sort orders, view modes, price ranges, sizes, multi-select combinations, or any combination beyond your chosen depth.
- Don't index combinations with no results. Return a
404(or at leastnoindex) for empty combinations, instead of a200page saying "no products found."
The curated list should be driven by data (keyword research, internal site search logs, demand) and maintained as configuration, not decided ad hoc by whoever builds the filter UI.
Canonical strategies
For filter URLs that you don't want indexed, you have several tools, each with trade-offs:
rel="canonical"to the unfiltered category works for near-duplicates, such as a sort order. It's a hint, and it doesn't stop crawling: the URLs are still fetched. For heavily filtered pages showing different products, it may be ignored, since the pages aren't really duplicates.noindexkeeps a URL out of the index but still requires crawling it to see the tag, so it doesn't save crawl effort.- robots.txt
Disallowfor parameter patterns stops crawling entirely, saving the most effort, but blocked URLs can't pass signals or show canonicals, and may still appear as bare URLs if heavily linked. - Not generating crawlable links for non-indexable combinations: render them as form controls or JavaScript actions without
href, or put the filter state in a URL fragment (#color=blue), which Google generally doesn't treat as a separate URL. Users still get filtering; crawlers don't discover the combinations.
Google's guidance on faceted navigation recommends, when you don't need filtered URLs indexed, preventing their crawling (robots.txt or fragments), and when you do need them indexed, using consistent URL patterns, standard parameter separators, a consistent filter order, and 404 for empty results.
A combined policy is common: curated combinations get clean URLs and links; non-curated combinations use parameters that robots.txt disallows; sort and view parameters carry a canonical to the unsorted page and are disallowed if they're crawled heavily.
User-agent: *
# Sorting, view modes, and price/size filters never need crawling
Disallow: /*?*sort=
Disallow: /*?*view=
Disallow: /*?*price=
Disallow: /*?*size=
# Internal search results
Disallow: /search
Sitemap: https://www.example.com/sitemaps/index.xmlTest patterns carefully: * and $ wildcards are supported by Google and Bing, but a too-broad pattern can block important pages. Search Console's robots.txt report shows what Google fetched.
Duplicate content management at scale
Beyond facets, large sites accumulate duplicates through:
- the same product in several categories with category-specific URLs (use one product URL regardless of the path taken to reach it);
- product variants (size, color) with separate URLs; index separate variant pages only when they have distinct demand and content, and otherwise use one page with selectable options, or canonicalize variants to the main product;
- printer-friendly or app-specific versions;
- regional storefronts with identical content (lesson 14).
The goal is that every piece of content has one canonical URL, every internal link uses it, and every sitemap lists it.
Crawl traps
A crawl trap is a URL space that generates infinitely or near-infinitely many URLs. Common ones:
- calendars with "next month" links that never end;
- relative-link bugs that create ever-longer paths (
/a/b/a/b/a/b/…); - session ids or timestamps in URLs;
- filter combinations that can be stacked without limit;
- search pages that link to more search pages.
Detect them in logs (lesson 11) and in crawls (URL counts per pattern that keep growing). Fix them at the source: cap calendars at the range with real content, return 404 beyond it, use absolute links, remove session ids from URLs, and limit facet stacking.
Product and category structures
- Categories are your main indexable landing pages for broad and mid-tail searches. Give them unique introductory content that helps a shopper choose, not boilerplate.
- Products should have one stable URL that survives price changes, stock changes, and recategorization.
- Out-of-stock products: if the product will return, keep the page (
200) with clear availability and alternatives. If it's permanently discontinued, redirect to a close replacement or the category when there's a clear equivalent; otherwise return404or410. - Pagination on categories should use crawlable links and self-canonical pages (lesson 8), so all products remain reachable.
Scalable sitemap generation
At scale, sitemaps are a data product. Generate them from the same source of truth as your pages:
- Split by template and, for very large templates, by ID range or date, staying under 50,000 URLs and 50 MB per file.
- List only canonical, indexable,
200URLs. Generate from the database with the same indexability rules your templates use, so they can't disagree. - Set
<lastmod>from the actual content change time, not the generation time. - Reference all files from a sitemap index, and submit the index in Search Console.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.example.com/sitemaps/categories.xml</loc>
<lastmod>2026-10-29</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/sitemaps/products-0001.xml</loc>
<lastmod>2026-10-30</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/sitemaps/products-0002.xml</loc>
<lastmod>2026-10-30</lastmod>
</sitemap>
</sitemapindex>Splitting by template has a side benefit: the Search Console Page indexing report can be filtered by sitemap, so you can see the indexing rate of each template separately.
Scenario: an outdoor gear retailer
A retailer has 40,000 products in 300 categories. Category pages offer seven filters (brand, gender, type, color, size, price, rating), multi-select, plus four sort orders. A log analysis shows 71% of verified Googlebot requests going to filtered URLs, while 18% of product pages haven't been crawled in 60 days.
The team defines a facet policy:
- Indexable: category pages, category plus brand, category plus gender, and category plus type, but only where the combination has at least eight products and shows search demand. That's about 2,100 URLs.
- Those combinations get clean paths (
/hiking-boots/women/,/tents/brand/trailco/), unique titles and intros generated from templates and then edited for the top 200, and links from the category page's filter panel. - Everything else (color, size, price, rating, multi-select, sorting) stays as query parameters. Filter controls for these update the page with JavaScript and the URL with parameters for sharing, but aren't rendered as crawlable links. robots.txt disallows the parameter patterns as a backstop.
- Empty combinations return
404. - Sitemaps are regenerated nightly from the database: categories, curated facets, and products, each in its own files.
Over the following two months, logs show filtered URLs falling to a small fraction of Googlebot requests and product pages being recrawled far more often. The Page indexing report shows the curated facet pages being indexed, and Search Console's Performance report begins to show impressions for queries like "women's hiking boots." (Illustrative; measure your own baseline and results.)
Common mistakes and troubleshooting
- Indexing everything "for long-tail traffic." Most combinations add duplicates and thin pages, not traffic.
- Relying on canonicals alone to control crawling. Canonicals don't stop fetching.
- Blocking curated facet URLs by accident with a broad robots.txt pattern. Test patterns against real URLs.
- Changing parameter order in different parts of the UI, doubling the URL space.
- Ignoring empty results. "0 products" pages with
200status are soft 404s. - Sitemaps generated by a different system than the pages, so they drift out of sync.
Key takeaways
- At scale, decide indexing policy per template and URL pattern, and enforce it in code.
- Index a curated, data-driven set of facet combinations with clean URLs; keep the rest uncrawled or out of the index.
- Canonicals consolidate signals; robots.txt and not linking save crawl effort. Use each for its job.
- Generate sitemaps from the same rules as your pages, split by template, with accurate
<lastmod>.
Exercise
For a category template on a site you know (or a well-known retailer you can observe):
- List every facet and parameter, and classify each as indexable-candidate, non-indexable filter, reorder, pagination, or tracking.
- Estimate the number of URLs a crawler could reach from one category page with current links.
- Write a facet policy: which combinations get clean indexable URLs and why, how the rest are handled, and the robots.txt rules you'd add.
- Describe how you'd verify the policy is working after one month, using logs and Search Console.
Practice with RankMiso. To see how filters multiply URLs on a site you can test, start a crawl from a category page in the Site section of RankMiso (our free extension) in Chrome. It keeps query strings as separate addresses, so filter and sort links show up as distinct URLs among the pages it finds, within its limits of 100 pages and 400 discovered addresses. Free on the Chrome Web Store (opens in a new tab).
References
- Google Search Central: Managing crawling of faceted navigation URLs (opens in a new tab)
- Google Search Central: Large site owner's guide to managing your crawl budget (opens in a new tab)
- Google Search Central: How to specify a canonical URL (opens in a new tab)
- Google Search Central: Pagination and incremental page loading (opens in a new tab)
- Google Search Central: Manage your sitemaps with a sitemap index file (opens in a new tab)
- sitemaps.org: Sitemaps XML format (opens in a new tab)
What's next
Getting architecture right is hard; changing it on a live site is harder. SEO Migrations and Website Replatforming covers how to change domains, platforms, or URL structures without losing what you've built.

