Check 02.14 · Architecture and navigation

Control filters and facets

Choose the filter combinations that deserve an indexable page, block crawling of all the others and apply the rule on WooCommerce, Shopify or Magento.

Priority
Critical
Difficulty
Advanced
Estimated time
1 to 5 days
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Faceted navigation lets visitors filter a list by color, size, brand, price or availability. Each filter and each combination of filters produces a URL, and their number explodes quickly: ten filters with ten values each are enough to create millions of combinations. The check consists of choosing the few combinations that meet genuine search demand and turning them into indexable pages, then preventing crawlers from exploring all the others. It mainly concerns online stores, but also directories and classifieds, job or real estate sites.

Why it matters

Google devotes an entire page of its documentation to crawling facets. Its finding: in their most common form, based on URL parameters, facets generate a very large number of URLs that crawlers explore, at the cost of extra server load and potentially slower discovery of useful new pages. Googlebot only needs a few lists to reach every product; the thousands of combinations teach it nothing.

Google offers two routes, depending on whether or not you want these URLs to appear in search results:

  • Keep them from being crawled: blocking with robots.txt (the most effective method), filters placed in the # fragment, which Google ignores, or, less effective, a canonical pointing to the unfiltered list and nofollow on every link to the filters.
  • Let them be crawled: standard & separator, constant filter order, no duplicate filters, and a 404 status code when a combination returns no results, with no redirect to a generic page.

Some combinations do have real value, though: “organic green tea” or “women's trail running shoes” are queries people search for, and they deserve a page with a stable URL, a title, an introductory text and links. The work is therefore a decision first, and an implementation second.

What it improves

  • Crawling Crawlers visit categories and products instead of going round in circles through combinations. Strong effect on catalogs of several thousand products.
  • Indexing The index only contains the chosen filter pages, without near-identical duplicates.
  • Long-tail traffic The chosen combinations capture precise queries that the category alone does not cover.
  • Server load Fewer list pages computed for crawlers.
  • AI answers A dedicated, well-titled page for a searched-for combination is easier to cite than a filter URL. No practice guarantees a citation.

How to check

How many filter URLs do crawlers explore? In the server logs, compare Googlebot's requests to filter URLs with those to everything else:

grep -i "googlebot" /var/log/nginx/access.log | awk '{print $7}' > /tmp/googlebot-urls.txt
wc -l < /tmp/googlebot-urls.txt
grep -cE "[?&](filter_|couleur=|taille=|prix=|q=)" /tmp/googlebot-urls.txt

Adapt the parameter names to your site. If filters account for a large share of requests, this check is a priority.

What does Google see? In Search Console:

  • Crawl stats: request volume and examples of crawled URLs;
  • Page indexing: filter URLs under “Crawled - currently not indexed”, “Discovered - currently not indexed” or the duplicate reasons point to the problem.

What do your pages offer? Open a category and read the source code: are the filters <a href> links to parameterized URLs, checkboxes without links, or fragments? A Screaming Frog crawl limited to a few thousand URLs quickly shows whether combinations are multiplying.

How to implement

The examples follow Thé des Lisières, a fictitious loose-leaf tea shop; the figures are made up.

Step 1 — List the facets

List each filter, its values and the URL form it produces.

Facet Values URL produced Number of values
Type green, black, oolong, white /thes/?type=vert 4
Origin China, Japan, India, Taiwan… /thes/?origine=japon 12
Label organic, fair trade /thes/?label=bio 2
Price free ranges /thes/?prix_min=5&prix_max=20 Infinite
Sort price, newest, popularity /thes/?tri=prix 3

Step 2 — Decide for each combination

Criteria for making a combination indexable, all required:

  1. Real demand: the corresponding query has measurable volume in Keyword Planner, Search Console or a paid tool. See analyze search volume and difficulty (opens in a new tab).
  2. Enough products: the list contains enough items to be useful. The threshold is a convention to set for your catalog, not a search engine rule.
  3. A clear difference from the parent category: the filtered list is not almost identical to the full list.
  4. One or two facets at most: beyond that, demand almost always disappears.

Deliverable: the decision matrix.

Combination Target query Estimated volume Products Decision Target URL
Type green loose green tea 2,400 48 Indexable (category) /thes/the-vert/
Type green + organic label organic green tea 900 17 Indexable /thes/the-vert/bio/
Type green + origin Japan Japanese green tea 700 14 Indexable /thes/the-vert/japon/
Origin Taiwan + fair trade label none 0 2 Not crawled parameter blocked
Price, sort, any combination of three filters none 0 variable Not crawled parameter blocked

A formula in Google Sheets, columns C (volume) and D (products), with a product threshold to adjust:

=IF(AND(C2>=50,D2>=6),"Indexable","Not crawled")

Good to know: a chosen combination must become a real page: a clean, stable URL, its own title and H1, a short introductory text, links from the parent category and from the menu where relevant. A filter URL that is simply “left open” remains a weak page.

Step 3 — Choose the technique for the rest

Technique Effect on crawling When to use it
robots.txt Disallow The URLs are no longer crawled By default for filters not chosen, sorting and price
Filters in the # fragment Google ignores the fragment JavaScript interfaces, when you rebuild the navigation
Canonical pointing to the unfiltered list Slow drop in crawling As a complement, or if blocking is impossible
rel="nofollow" on filter links Partial, only if every link to the URL has it As a complement
noindex No crawl savings: the page must be crawled to be read Removing already indexed URLs from the index, before blocking them

Sample robots.txt for Thé des Lisières, with the filters not chosen and sorting as parameters, and the chosen combinations as clean paths:

User-agent: *
Disallow: /*?*origine=
Disallow: /*?*label=
Disallow: /*?*prix_min=
Disallow: /*?*prix_max=
Disallow: /*?*tri=

The /*?*origine= pattern blocks the parameter whatever its position, but also any parameter whose name ends in origine. Check that no useful URL matches.

Warning: if thousands of filter URLs are already indexed, do not block them right away: a blocked URL can no longer pass on its noindex tag. Set noindex first, wait until the indexing report shows them as excluded, then block.

For crawlable combinations, apply Google's rules: & as the separator, constant order, no duplicates, 404 on an empty combination. See also control indexing of facets and internal search (opens in a new tab).

WordPress

Versions WordPress 6.4 and later, WooCommerce 9 and later.

With WooCommerce, attribute filters produce parameters such as ?filter_couleur=vert&query_type_couleur=or, the price filter ?min_price= and ?max_price=, sorting ?orderby=. Product categories and tags already have clean URLs (/categorie-produit/the-vert/).

  • Chosen combinations: create a product subcategory (Products > Categories) with its own description, rather than relying on the filter URL.
  • The rest: block the prefixes in robots.txt, through your SEO plugin's editor or a file at the root:
User-agent: *
Disallow: /*?*filter_
Disallow: /*?*query_type_
Disallow: /*?*min_price=
Disallow: /*?*max_price=
Disallow: /*?*orderby=
  • AJAX filter plugins: check the form of their URLs and the option that does or does not generate crawlable links.

Shopify

Versions Shopify, Search & Discovery app, November 2026.

Collection filters (Search & Discovery app) produce parameters such as ?filter.v.option.couleur=…, ?filter.p.vendor=…, ?filter.v.price.gte=…. Shopify's default robots.txt already blocks sorted collections (sort_by) and legacy tag combinations (/collections/*+*), but not filter. parameters: check this at /robots.txt, then if needed add a rule such as Disallow: /collections/*filter*&*filter* (two filters or more) in the robots.txt.liquid template, as described in control URL parameters (opens in a new tab).

For chosen combinations, create a dedicated collection (Products > Collections, automated collection with conditions, for example product type equal to “Thé vert” and product tag equal to “bio”), with its own description and URL handle, and link to it from the parent collection.

PrestaShop

Versions PrestaShop 8 and 9, Faceted search module (ps_facetedsearch).

The faceted search module (ps_facetedsearch) produces URLs such as ?q=Couleur-Vert/Origine-Japon. Configure the filters in Modules > Module Manager > Faceted search > Configure. For chosen combinations, create subcategories with content. Block the rest with robots.txt (Disallow: /*?q= and Disallow: /*&q=), after checking the file generated in Shop Parameters > Traffic & SEO.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.

Layered navigation adds one parameter per attribute (?color=49, ?price=10-20). For chosen combinations, create dedicated categories. For the rest:

  • category canonical enabled (Stores > Configuration > Catalog > Catalog > Search Engine Optimization);
  • attribute and sorting parameters blocked in robots.txt (Content > Design > Configuration, store view, “Search Engine Robots” section);
  • on a large catalog, a layered navigation extension that produces clean URLs for a whitelist of attributes and blocked parameters for the others.

Laravel

Versions Laravel 11 to 13.

In the routing, separate the chosen combinations (clean routes, editorial content) from free-form filters (parameters), and normalize the latter:

Route::get('/thes/{type}/{selection?}', [CategoriesController::class, 'show'])
    ->where(['type' => '[a-z0-9-]+', 'selection' => 'bio|japon|chine'])
    ->name('categories.show');
public function show(Request $request, string $type, ?string $selection = null): View
{
    $filters = collect($request->only(['origine', 'label', 'prix_min', 'prix_max']))
        ->filter()
        ->sortKeys();

    $products = Product::query()->filterBy($type, $selection, $filters)->paginate(24);

    abort_if($products->isEmpty(), 404);

    return view('categories.show', [
        'products' => $products,
        'canonical' => route('categories.show', array_filter([$type, $selection])),
    ]);
}

sortKeys() keeps a constant order when you rebuild filter links; filterBy is your query scope. Links to free-form filters can carry rel="nofollow" in addition to robots.txt.

Next.js

Versions Next.js 15 and 16 (App Router).

Same separation: route segments for the chosen combinations (app/thes/[type]/[selection]/page.tsx, with generateStaticParams and dynamicParams = false to accept only the whitelist), searchParams for free-form filters. If the interface is entirely client-side, keep free-form filters in state or in the fragment, and only generate <Link> links to the chosen pages. Call notFound() when a combination returns nothing.

Step 4 — Check after going live

  1. Test robots.txt on filter URLs and on chosen URLs with the robots.txt report.
  2. Inspect a chosen page with URL Inspection: indexable, self-referencing canonical.
  3. After a few weeks, compare the share of filter requests before and after in the crawl stats and the logs.
  4. Add the chosen pages to the sitemap, never the filter URLs.

Common mistakes

  • Leaving everything open and relying on the canonical: Google treats it as a hint, so crawling drops slowly and stays high.
  • Blocking already indexed URLs in robots.txt: they stay in the index, with no readable content. noindex first, blocking afterwards.
  • Blocking the category pages themselves with an overly broad pattern.
  • Empty combinations returning a 200: “organic white tea from Taiwan” with no products at all must return a 404.
  • Variable order: ?type=vert&label=bio and ?label=bio&type=vert coexist.
  • Opening every single-facet combination with no demand or content: hundreds of weak pages. See avoid categories that add no value (opens in a new tab).
  • Combination pages mass-generated with template text: that is the very definition of doorway pages. See eliminate artificial doorway pages (opens in a new tab).

Frequently asked questions

Should the filter pages of an e-commerce site be indexed?

Only the few combinations that meet real search demand and contain enough products, such as “organic green tea”. Those deserve a real page, with a clean URL, a title and an introductory text. All other filter, sorting and price combinations should be kept out of crawling, usually through robots.txt, so as not to wear crawlers out on duplicates.

Canonical or robots.txt for facets?

Google presents robots.txt as the most effective method to prevent facet URLs from being crawled; a canonical pointing to the unfiltered list only reduces crawling slowly. Do not combine both on the same URL: a crawler that cannot crawl a page does not read its canonical. If filter URLs are already indexed, set a noindex first, then block them once they have dropped out.

What should you do with a filter combination that returns no products?

Return a 404 HTTP status code for the requested URL, as Google recommends for combinations with no results and for duplicate or nonsensical filters. Do not redirect to a generic page or to the parent category. Visitors can see a helpful message with links to the category, but the response code must tell crawlers that this URL has no content.

Is noindex enough to handle facets?

No, not for crawling. A noindex page must be crawled for the tag to be read: Google therefore keeps requesting these URLs, which frees up no crawl resources. Noindex serves to remove already indexed filter URLs from the index. Once they have dropped out, blocking with robots.txt keeps crawlers from coming back.

Updated on

Topic checklist (PDF)

And now?

In the “Architecture and navigation” topic

  1. Organize pages by topic and hierarchy
  2. Create pillar pages and supporting content
  3. Limit the click depth of strategic pages (three clicks if possible)
  4. Detect orphan pages
  5. Optimize menus and submenus
  6. Implement breadcrumbs
  7. Optimize footer links
  8. Use crawlable HTML links
  9. Create short, stable and descriptive URLs
  10. Separate words with hyphens
  11. Standardize letter case and trailing slashes
  12. Control URL parameters
  13. Control pagination and infinite scroll
  14. Control filters and facets
  15. Avoid infinite URL spaces
  16. Avoid categories that add no value
  17. Check links to commercial pages