My shop's filters create thousands of URLs: which should Google index, and how do I control the rest?
TL;DR
Difficulty: Advanced
Shop filters multiply: five facets on one category already make over 12,000 URLs, and sort orders push a small shop past 700,000.
- Index only combinations people search for, with about six products or more, useful copy and a stable product set. Give them clean URLs and normal links.
- Build every other filter as controls, not links, and block its parameters in robots.txt, after dropping any indexed ones with noindex first.
- No single tool works alone: robots.txt does not stop indexing, noindex does not stop crawling, canonical is a hint.
- Pagination: one URL per page, real links, a canonical to itself. Google stopped using rel next and prev in 2019.
- Sold out products: keep if they return, 301 to a true successor, otherwise archive or 404.
Open Search Console on a shop with filters and you often find a hundred URLs for every product. Nobody built them, the filters did. This article explains from Google's own documentation why that happens, which filter pages deserve to be indexed, how to keep the rest away from crawlers without hurting shoppers, and how to handle pagination and sold out products, worked through on an example garden furniture shop.
The question, and the short answer
Every online shop with filters meets this moment sooner or later. You open Search Console, or a crawler report, and find that Google knows about a hundred times more URLs on your site than you have products. Most of them look like /garden-furniture/dining-sets?colour=grey&seats=6&material=teak&sort=price_asc. Nobody built them on purpose. The filters did.
The short answer to "which should Google index, and how do I control the rest" fits in three sentences. Index only the filter combinations that people actually search for, that show enough products to be a real page, and that you can describe with copy worth reading: give those a clean URL, a normal link and a place in your sitemap. Keep every other combination usable for shoppers but invisible to crawlers, mainly by not linking to it in a way a crawler can follow and by blocking its parameters in robots.txt. Handle pagination with one plain URL per page, and handle sold out products by whether they will come back.
The rest of this article explains each of those sentences from Google's own documentation, shows the maths of why filters explode, walks through every tool and the way each one fails on its own, and then works the whole thing through on an example shop: 210,000 crawled filter URLs brought down to the pages that matter.
It builds on two earlier chapters of this series. Canonical tags and duplicate content explains how Google picks one URL out of several similar ones, and JavaScript SEO explains why a link a crawler can follow is not the same thing as a button a person can click. If the words crawling, rendering and indexing are new, start with how search engines crawl, render and index a website.
What faceted navigation is
A facet is one property you can filter by: material, colour, size, number of seats, price. A filter value is one choice inside a facet: teak, grey, six seats. Faceted navigation is the panel of facets, usually down the side of a category page or behind a "Filter" button on a phone, that lets a shopper narrow a long list to the few products they want.
Shoppers love it, and fair play to them. A good filter panel is one of the most useful things a shop can offer. The trouble is technical, not commercial. Most shops store the current filter choice in the URL, as parameters after a question mark (?colour=grey&seats=6) or as extra path segments (/grey/6-seats/). That is good for people: the URL can be bookmarked, shared and opened again. It also means that every combination of choices is a separate address on the web, and every separate address is something a crawler can find, fetch and consider for the index.
A crawler is the software a search engine uses to fetch pages. Google's is Googlebot. It finds new URLs mainly by following links. If your filter panel is made of ordinary links, every filter value on every category page is a link, and every page those links lead to has its own filter panel full of further links. That is how a shop of 1,850 products ends up with hundreds of thousands of URLs.
Example: the filters on Barrow Outdoor
The example business for this series is invented: Barrow Outdoor, an online shop for garden and outdoor furniture in Kilkenny, run by Aoife at barrowoutdoor.example. It sells 1,850 products in 14 categories, such as dining sets, lounge sets, benches and sun loungers. Every category page has five facets: material, colour, size, seats and price.
To make the maths concrete I give each facet a number of values. These are my assumptions for the example, not facts fixed elsewhere in the series:
| Facet | Values on Barrow Outdoor (example) | Count |
|---|---|---|
| Material | rattan, teak, acacia, aluminium, steel, recycled plastic | 6 |
| Colour | grey, black, white, natural, brown, green, blue, cream, charcoal | 9 |
| Size | small, medium, large, extra large | 4 |
| Seats | 2, 4, 6, 8, 10 or more | 5 |
| Price | five price bands | 5 |
On the old platform every value is a plain link. Click "teak" on the dining sets page and you land on /dining-sets?material=teak, which has its own panel, where "6 seats" leads to /dining-sets?material=teak&seats=6, and so on.
Why filters turn a few thousand pages into hundreds of thousands of URLs
The number of possible filter pages is not the sum of the filter values. It is their product. That is the whole reason this topic exists.
Take one category page. For each facet a shopper can either leave it unset or pick one value. So a facet with values gives possible states. Multiply the states of all facets together and you have the number of distinct filtered views of that one category:
Here is the number of distinct filter URLs for one category, is the number of facets, is the number of values in facet , the is the state "this facet is not set", and means "multiply all the terms together", the way means "add them all up". This is the same multiplication you meet in Foundations: ratios and rates, applied to counting.
That formula is the friendly case. It assumes each facet allows only one value at a time. Many shops allow several at once (grey and black, teak and acacia). Then each value is either on or off, and a facet with values has states instead of :
Here is the number of filter URLs when every facet allows several values at once, and counts every on and off pattern of the values in facet , including "none selected". The counting logic is the same as in Foundations: ratios and rates: states multiply, they do not add.
Then there are things that change the URL without changing the products: the sort order, the number of products per page, the page number, and the order in which parameters appear. If the platform writes ?seats=6&material=teak when you click seats first and ?material=teak&seats=6 when you click material first, every combination of set facets exists in up to spellings (say "k factorial": , so 120 spellings for five facets).
Example: counting Barrow Outdoor's filter URLs
Step 1, one category with single choice facets:
Step 2, all 14 categories: filter URLs.
Step 3, add the sort menu. Barrow Outdoor offers four sort orders (relevance, price ascending, price descending, newest), each a parameter. That multiplies everything by four: .
Step 4, multi select. If colour alone allowed several values, colour would contribute states instead of 10, and one category would have filter URLs on its own.
Against that, the shop has about 2,600 URLs that are genuinely useful: 1,850 products, 14 categories, and the buying guides, service pages and category page twos and threes that make up the rest. Aoife's server logs show Googlebot fetched about 210,000 distinct URLs in a month. Looking at the numbers above, that is not a crawler gone wild. It is a crawler politely working through a space of more than 700,000 addresses that the shop itself advertised, one link at a time.
What Google says about faceted navigation
Google's guidance on this changed in December 2024. Until then the reference was a blog post from 2014. On 17 December 2024 Gary Illyes of Google published a post in Google's "Crawling December" series announcing that the 2014 advice had been turned into a proper help document, and wrote that faceted navigation is "by far the most common source of overcrawl issues" site owners report to Google1. The document is called "Managing crawling of faceted navigation URLs"2. Read it in full, it is short. Here is what it says, in its own order.
It names two problems. The first is overcrawling: a crawler cannot know that a new filter URL is useless until it has fetched it, so it often fetches a great many before concluding they are not worth it. The second is slower discovery: time spent on useless URLs is time not spent on your new products2.
It then splits sites into two cases.
If you do not need filter URLs in Google Search, prevent crawling. The first and most direct option is to disallow the filter parameters in robots.txt, while allowing the product pages and one unfiltered listing. The second is to put filters in a URL fragment (the part after #), because Google Search generally does not support fragments in crawling and indexing. Google then mentions two weaker options: rel="canonical" from filtered to less filtered pages, which may reduce crawling of the filtered versions "over time", and rel=nofollow on filter links, which only helps if every link to that URL carries it. Both are described as less effective in the long term2.
If you do need filter URLs to be indexable, make them crawler friendly. Use the standard & to separate parameters (not commas, semicolons or brackets). If the filters live in the path, keep their order consistent and never allow the same filter twice. Return a 404 status code when a combination has no results, instead of redirecting to a general "nothing found" page, and do the same for duplicate filters, nonsensical combinations and page numbers that do not exist2.
Notice what the document does not mention: noindex. That is deliberate, and it matters later.
Two other Google pages say the same thing from different angles. The URL structure guide warns that additive filtering makes "the number of URLs (views of data) in the sites explodes", lists shopping sort parameters as typical irrelevant parameters, and suggests robots.txt to keep Googlebot out of ordering and filtering functions3. The crawl budget guide says plainly that robots.txt is the way to stop crawling, that noindex does not save crawling because Google still has to request the page to see the tag, and that a 404 is "a strong signal not to crawl that URL again"4.
Example: reading Google's guidance against the example shop
Aoife's shop is a mixed case, which is the normal case. Most of its 705,600 possible filter URLs should never be crawled: nobody searches for "white aluminium 2 seat sun lounger under €200 sorted by newest". A few should be indexable: plenty of people search for "6 seater garden dining set" or "teak garden bench".
So neither of Google's two branches fits on its own. Aoife needs the first branch (prevent crawling) for almost everything, and the second branch (crawlable, clean, 404 when empty) for a short list she chooses on purpose. The rest of this article is about drawing that line and building both sides of it.
Three things the URL explosion costs you
It is worth being precise about the harm, because "duplicate content" is often thrown around as if Google punished it. It does not. As the canonical tags chapter explains, ordinary duplication carries no penalty. The costs are more mundane, and they are real.
Crawling spent on the wrong URLs
Google gives each site a limited amount of crawling, set by how much your server can take (Google calls it the crawl capacity limit) and how much Google wants your pages (crawl demand)4. Google says crawl budget is mainly a concern for large sites, roughly a million or more unique pages changing weekly, or 10,000 or more changing daily, and for sites with many URLs in "Discovered, currently not indexed"4. A shop with 2,600 real pages sounds small. But Google counts URLs, not products, and a shop that exposes 700,000 filter URLs is a large site whether it meant to be or not.
Thin and near duplicate pages
Most filter combinations show either almost the same products as a neighbouring combination, or very few products, or none. A page listing one product, or the same nine products as three other URLs, is a weak candidate for the index. Google crawls it, decides it adds nothing, and files it under "Crawled, currently not indexed" or picks another URL as canonical5. Each of those decisions costs a fetch.
Crawl traps
A crawl trap is a part of a site that generates new URLs endlessly. Google's own example is a calendar with a "next month" link that never ends3. Filters build the same thing: a parameter that can be added twice (?colour=grey&colour=grey), parameters in any order, empty combinations that still return a normal page with a filter panel full of further links. Google's advice to return 404 for empty and duplicate combinations exists precisely to close these loops2.
Example: measuring the crawl on the example shop
Aoife's logs for one month, grouped by URL type (the split is my derivation for the example, consistent with the fixed totals):
The share of crawling that reached a useful page is a simple ratio:
Here is the useful share of crawling, is the number of distinct useful URLs crawled, and is the number of distinct URLs crawled in total (Foundations: ratios and rates).
With , roughly one fetch in 80 reached a page Aoife wants in Google. That matches what Search Console shows: 4,100 pages indexed, 31,000 "Crawled, currently not indexed" (fetched, judged and dropped) and 52,000 "Discovered, currently not indexed" (known, but Google had not got round to fetching them). The new garden range Aoife added in March sat in that second queue for weeks. That is Google's "slower discovery" problem, in Aoife's own report.
Which filter combinations deserve to be indexed
This is the business decision at the centre of the topic, and Google does not make it for you. Its documentation tells you how to handle filter URLs that should or should not be indexed. It does not tell you which ones those are. What follows is my method. It is industry practice and my judgement, not Google's wording, and I say where the thresholds are mine.
A filter combination earns an indexable page when it passes four tests.
1. People search for it, in those words. Look at the queries in Search Console (the Performance report), at a keyword tool, and at the words customers use on the phone and in reviews. "6 seater garden dining set" is a search. "Charcoal medium acacia" is not. Keyword research is its own chapter later in the content series. For this decision you only need a yes or no, and a rough size.
2. It shows enough products to be a real page. My rule of thumb is about six products or more. Fewer than that and the page is thin: the shopper is better served by the category with a filter applied, and Google is likely to agree.
3. You can write something useful for it. A short introduction that helps the buyer choose (what six seats means for table size, why teak weathers to silver), a few lines of buying advice, a sensible title and heading. If the only thing you could write is "Here are our grey rattan sofas", the page has no reason to exist apart from the category. Writing that copy well is the subject of the series chapter on product and category page copy.
4. The product set is stable. Price bands, "on sale", "in stock" and "new in" change daily. A page whose contents swing from 30 products to two and back is a poor landing page and a moving target for the index. Keep those as filters.
Two further rules keep the list sane. First, one facet deep is the default and two facets deep is the exception, granted only when the search demand is clearly there. Three or more facets almost never pass test 1 and test 2 at the same time. Second, an indexable filter page is a decision you make by name, in a list. It is never something the platform grants automatically to every combination with results. The programmatic SEO article explains why generating thousands of near identical landing pages backfires.
Example: Aoife's list of landing pages
Aoife exported a year of queries from Search Console, ran the category and facet words through a keyword tool, and counted products per combination in the shop's database. The search volumes below are invented for the example, so treat them as illustrations of the method, not as market data.
| Combination | Monthly searches (example) | Products | Copy possible? | Stable? | Decision |
|---|---|---|---|---|---|
| Lounge sets, rattan | 5,400 | 46 | yes | yes | Landing page |
| Dining sets, 6 seats | 2,400 | 38 | yes | yes | Landing page |
| Benches, teak | 1,300 | 12 | yes | yes | Landing page |
| Lounge sets, rattan, grey | 1,000 | 9 | yes | yes | Landing page (two facets, demand is clear) |
| Dining sets, 8 seats | 880 | 17 | yes | yes | Landing page |
| Garden chairs, green | 90 | 4 | barely | yes | Filter only (too few products) |
| Garden tables, under €200 | 210 | 31 | yes | no | Filter only (prices change) |
| Sun loungers, aluminium, white, 2 seats | 0 | 3 | no | yes | Filter only |
| Dining sets, teak, 6 seats, sorted by price | 0 | 7 | no | yes | Filter only (sort never gets a page) |
Across all 14 categories the exercise produced 120 landing pages. Out of 705,600 possible filter URLs, 120 earned a place. That ratio is normal, and it is the point: the indexable part of a filter system is a short, deliberate list.
The tools, and why each one alone fails
There are seven common ways to keep filter URLs away from crawlers or out of the index. Each solves part of the problem. None solves all of it. This table is the summary, the sections after it are the detail.
| Tool | Stops crawling? | Stops indexing? | Main weakness alone |
|---|---|---|---|
| Links that are not crawlable | Mostly | Indirectly | URLs still leak through shares, old links, sitemaps |
| robots.txt disallow | Yes | No | Blocked URLs can still be indexed without content; Google cannot see tags on them |
noindex | No | Yes | Google must keep fetching each URL to see the tag |
rel="canonical" | Slowly, partly | Usually | A hint, needs a crawl, often ignored when the products differ |
rel=nofollow on links | Partly | No | Must be on every link to the URL, and it is a hint |
URL fragment (#) | Yes | Yes | Nothing after the # can ever be indexed |
| Filtering without changing the URL | Yes | Yes | No shareable URL, broken back button, nothing indexable |
Links that are not crawlable
Google follows links that are <a> elements with an href attribute. It says it cannot reliably extract URLs from elements without one, such as a <span>, a button with an onclick handler, or an <a> with no href6. So a filter panel built from form controls (checkboxes, buttons) that update the product list with JavaScript and then write the new state into the address bar with the History API gives the shopper a real, shareable URL without handing the crawler a link to it.
Where it fails alone: the URL still exists. A customer pastes it into a forum, a newsletter tool links to it, an old version of the site linked to it for years, someone puts it in the XML sitemap by mistake. Google can discover it through any of those. And Google says it "may still attempt" to parse some link like patterns, so "not crawlable" is a strong tendency, not a wall6.
Example: a filter control versus a filter link
On the old Barrow Outdoor platform the teak filter was this, which every crawler follows:
<a href="/dining-sets?material=teak">Teak</a>
On the new one it is a checkbox. The JavaScript fetches the filtered list and updates the address bar, but there is no href for a crawler to follow:
<label>
<input type="checkbox" name="material" value="teak" data-filter>
Teak
</label>
<!-- JavaScript updates the list and calls history.pushState with ?material=teak -->
The chosen landing pages are the exception. "Rattan lounge sets" stays a plain link, to a clean path, because Aoife wants it crawled:
<a href="/lounge-sets/rattan/">Rattan lounge sets</a>
robots.txt disallow
robots.txt is a text file at the root of your site that tells crawlers which paths they may not fetch. It is Google's first recommendation for filter URLs you do not need indexed2, and the crawl budget guide names it as the tool for pages you never want crawled4. The robots.txt chapter covers the syntax.
Where it fails alone: robots.txt controls crawling, not indexing. Google says a blocked URL "can still appear in search results", just without a description7. If a blocked filter URL has links pointing at it, it can turn up in Search Console as "Indexed, though blocked by robots.txt"5. Worse, because Google cannot fetch a blocked page, it never sees a noindex or a canonical tag on it8. Blocking a URL freezes it in whatever state Google last knew. That is why the order of the steps matters when a shop already has filter URLs in the index (see the worked example).
noindex
A noindex robots meta tag (or the equivalent X-Robots-Tag HTTP header) tells Google not to show a page in results. It works reliably for indexing, as long as the page is not also blocked in robots.txt8.
Where it fails alone: it does nothing for crawling. Google has to fetch the page to read the tag, and keeps fetching it from time to time to check it is still there. The crawl budget guide is blunt: do not use noindex to manage crawl budget, because Google still requests the page and then drops it, which wastes crawling time4. A shop with 700,000 noindex filter URLs still has 700,000 URLs being crawled. That is also why Google's faceted navigation document leaves noindex out entirely2. It is the right tool for a short transition, not a permanent filter strategy.
Canonical to the unfiltered page
A rel="canonical" link element tells Google which URL you consider the main version of a page. Google calls it a strong signal, alongside redirects, and a sitemap a weak one9. Pointing every filter URL's canonical at the unfiltered category is the most common reflex in shop platforms.
Where it fails alone: three ways. Google has to crawl a page to see its canonical, so it saves little crawling at first, and Google only says it "may, over time" reduce crawl volume2. Canonical is for duplicates and near duplicates, and a filtered page usually is not a duplicate of the category: "teak dining sets" shows 7 products, "dining sets" shows 160. When the content differs that much, Google may ignore the hint and choose its own canonical, which you will see in the URL Inspection tool. And a canonical pointing away from a page you do want indexed (a chosen landing page) quietly tells Google not to index it. Use canonical for parameters that really do not change the content, such as tracking codes and sort orders, and give every chosen landing page a canonical to itself.
Nofollow on filter links
rel=nofollow on a link asks search engines not to follow it. Since 1 March 2020 Google treats it as a hint for crawling and indexing, not a command10.
Where it fails alone: Google's faceted navigation document says that for it to work, every anchor pointing to that URL must carry it2. One followed link anywhere (an old blog post, a breadcrumb, a "you might also like" box) reopens the door. And as a hint, Google may still crawl. It is a reasonable extra layer on a filter panel that has to stay as links. It is not a strategy.
Fragment identifiers
A fragment is the part of a URL after #. Browsers do not send it to the server, and Google says Search generally does not support fragments in crawling and indexing2. So /dining-sets#material=teak&seats=6 is, for Google, simply /dining-sets. Filters in fragments create no crawlable URLs at all.
Where it fails alone: nothing after the # can ever be indexed, so you cannot use fragments for the combinations you want to rank. Google's URL structure guide also tells you not to use fragments to change the content of a page, and to use the History API instead3. And because the server never sees the fragment, the filtered list can only be built in the browser, with every JavaScript SEO caveat that brings. Fragments are a clean answer for a site that needs no indexable filter pages at all. Most shops need a few.
Filtering without changing the URL
Some shops filter purely with JavaScript, leaving the address unchanged (often called AJAX filtering, after the old name for fetching data in the background). No new URLs, no crawl problem.
Where it fails alone: the shopper loses the shareable link, the back button jumps out of the filtered view, and none of the filtered views can ever rank. You have solved the crawling problem by deleting the thing that made the filters valuable to people. The History API approach in the first tool gives you the same crawler safety while keeping the URL for the shopper.
The layered setup that works
Because every tool fails somewhere, the robust approach combines them, each covering the next one's gap. This is the setup I recommend for most shops. It is my synthesis of the Google documents cited above, not a single Google recipe, and it is how I would build filters on a shop today, whether on a custom Solidus shop or on another platform that allows this level of control.
Layer 1, the chosen landing pages. Each gets a clean path URL (/lounge-sets/rattan/), a plain <a href> link from its category and from relevant guides, its own title, heading and copy, a canonical to itself, and an entry in the XML sitemap. In the filter panel, the matching filter value links to this clean URL, so a shopper and a crawler arrive at the same page.
Layer 2, every other filter. Built as controls, not links, using the History API so the shopper still gets a shareable parameter URL (?material=teak&seats=6). One fixed parameter order and the standard & separator, so that each combination has exactly one spelling2.
Layer 3, robots.txt as the backstop. Disallow the filter, sort and view parameters, so that leaked parameter URLs are not crawled even when someone links to them2.
Layer 4, honest status codes. Return 404 for combinations with no products, for duplicate parameters, and for page numbers beyond the last page2.
Layer 5, canonical for harmless parameters. Tracking parameters (utm_source and the like) and session identifiers get a canonical to the clean URL. Better still, keep session IDs out of URLs entirely, as Google's URL guide advises3.
One tool is missing from this list: the old URL Parameters tool in Search Console. Google retired it in April 2022, saying only about 1% of the configurations in it were useful for crawling, and pointed site owners to robots.txt instead11. Any guide that tells you to configure parameters there is out of date.
Example: the robots.txt file of the example shop
The filter parameters become disallow rules. Google's crawlers support the * wildcard and the $ end marker in robots.txt paths. The pattern /*?*material= matches material= anywhere in the query string, whether it comes first or fifth:
# robots.txt for barrowoutdoor.example (example)
User-agent: *
# Filter parameters: shoppers use them, crawlers do not need them
Disallow: /*?*material=
Disallow: /*?*colour=
Disallow: /*?*size=
Disallow: /*?*seats=
Disallow: /*?*price=
# Sort order and items per page never change which products exist
Disallow: /*?*sort=
Disallow: /*?*per_page=
# Pagination (?page=) is NOT blocked: page two and three must stay crawlable
Sitemap: https://barrowoutdoor.example/sitemap.xml
Two details are easy to get wrong. The clean landing page paths (/lounge-sets/rattan/) contain no parameters, so none of these rules touch them. And ?page= stays crawlable, because the products on page three of a category have to be reachable by links (more on that below). If a matching rule ever caught page= by accident, the products deep in a category would lose their only link path.
Pagination done right
Pagination splits a long list into pages: page 1 shows the first 24 dining sets, page 2 the next 24. It is the second big source of URLs on a shop, and it is where a lot of outdated advice still circulates.
rel next and prev: retired by Google in 2019
For years the advice was to mark paginated series with rel="next" and rel="prev" link elements. On 21 March 2019 Google's John Mueller said on Twitter that Google had not used them for indexing "for a number of years", and Google's own account wrote that it had decided to retire them12. Google's current pagination guide says simply that Google no longer uses these tags, while other search engines may still use them13. So they do no harm, and they do nothing for Google. Leave them in place if your platform writes them, but do not rely on them.
What Google asks for instead
Google's pagination guide asks for four things13:
- One URL per page, for example with a
?page=2parameter. Google treats each paginated URL as a separate page. - Sequential links, a plain
<a href>from each page to the next, so Googlebot can walk to the end. Linking every page back to page 1 is also suggested, as a hint that page 1 is the best landing page. - A canonical to itself on every page. Google says explicitly not to use the first page of the series as the canonical for the others. Page 2 is not a duplicate of page 1: it shows different products. A canonical from page 2 to page 1 tells Google that the products on page 2 are not worth a crawl path, which is exactly backwards.
- No fragments for page numbers. A "next page" link that differs only after the
#may not be followed at all, because Google ignores fragments.
The same guide suggests keeping sorted and filtered variants of a list out of the index with noindex or robots.txt, which matches the filter setup above13.
Load more and infinite scroll
"Load more" buttons and infinite scroll (more products appear as you scroll) are usually JavaScript. Google says its crawlers generally follow href links rather than clicking buttons or triggering scroll events, so products that only appear after a click or a scroll may never be seen13. The fix is to back the button with real paginated URLs: the "Load more" control is also a link to ?page=2, and the script intercepts the click for people. Shoppers get the smooth list, crawlers get the plain pages. Google also suggests an XML sitemap or a Merchant Center feed so that every product can be found regardless13.
View all
A "view all" page shows every item in a category on one URL. Google's current pagination guide no longer discusses it13. My view: it is fine for a category of 40 or 60 light products, and a bad idea for 160 dining sets with images, because the page becomes slow, and slow is a real cost to shoppers (the Core Web Vitals article explains which speed measures matter). If you offer one, keep the paginated pages as well and give each its own canonical.
Example: Barrow Outdoor's dining sets, page by page
The dining sets category has 160 products at 24 per page, so seven pages: (the brackets mean "round up"). Page 3 of the category carries this in its <head>, and real links at the foot of the list:
<!-- in the head of https://barrowoutdoor.example/dining-sets?page=3 -->
<link rel="canonical" href="https://barrowoutdoor.example/dining-sets?page=3">
<!-- at the foot of the product list -->
<a href="/dining-sets">First page</a>
<a href="/dining-sets?page=2">Previous</a>
<a href="/dining-sets?page=4">Next</a>
Page 1 is /dining-sets, not /dining-sets?page=1, so the first page has one address only. A request for /dining-sets?page=9 returns 404, because there is no page 9. The landing page "Dining sets, 6 seats" has 38 products, so it has two pages, /dining-sets/6-seats/ and /dining-sets/6-seats/?page=2, each with its own canonical. On the old platform, every page of every filter combination also existed in four sort orders. Those are now blocked by the sort= rule, which removes most of the 28,000 sort variants in the earlier chart.
Out of stock and discontinued products
Products come and go, and each one that goes leaves a URL behind. What you do with it depends on one question: will it come back?
Temporarily out of stock: keep the page
A product that will be back is still a product. Keep the URL live with a normal 200 status, say clearly that it is out of stock and when you expect it, offer a "tell me when it is back" option, and show close alternatives. Mark the availability in your product structured data: schema.org has values such as OutOfStock, BackOrder and PreOrder for exactly this14, and the series chapter on structured data next week goes through what Google does with them. In a Merchant Center feed, backorder is for products you will restock while still taking orders, and needs an availability date15.
Do not swap the page for a "not available" message with nothing else on it. Google's John Mueller has said that out of stock or not available pages "generally tend to end up as soft 404 pages"16. A soft 404 is a page that returns 200 but looks like an error page to Google, which then treats it like a 404175. A page with real content, specifications and alternatives is much less likely to be read that way.
Discontinued with a true successor: 301 redirect
If the product is gone for good and a direct replacement exists (next year's version of the same bench, the same set in a new finish), redirect the old URL permanently with a 301. Google treats a permanent redirect as a strong signal that the target should replace the old URL in results1718.
The trap is redirecting everything somewhere. Redirecting discontinued products to the home page, the category or an unrelated product is often treated as a soft 404: Mueller said in 2016 that such redirects may be handled that way19. So a redirect only helps when the target genuinely answers the same need.
Discontinued without a successor: archive, or 404 or 410
If nothing replaces it, you have two honest options.
If the page still earns something (links from other sites, steady visits from people looking for specifications, spare parts or care instructions), keep it as an archive page: clearly marked as no longer sold, with the specifications, the care guide and links to the current alternatives. This is close to what Mueller suggested for unique, one of a kind products in 2020: move them to an archive rather than leaving a live "unavailable" product page16.
Otherwise, return 404 or 410. Google treats all 4xx codes except 429 the same way: the URL drops out of the index and gets crawled less and less17. So choosing 410 ("gone") over 404 ("not found") makes no practical difference for Google. Pick one and use it consistently. Remove the product from your XML sitemap, and from your Merchant Center feed: Google's Merchant Center rules say not to mark discontinued products as out of stock but to delete them from your product data15.
Example: three products at Barrow Outdoor
- The Kilfane teak bench sold out in May and the supplier confirms stock for late June. The page stays live with a
200, a line "Back in stock from late June", a "tell me when it is back" button and three similar benches. Structured data saysBackOrderbecause Aoife takes orders now and ships later. - The Inistioge rattan corner set, 2024 edition, is replaced by the 2025 edition in a new weave. The old URL gets a
301to the new one. The 2025 page mentions the change, so a returning visitor understands where they have landed. - The Nore fire pit table is discontinued with no successor. It has four links from garden blogs and gets about 40 visits a month from people searching its name for spare parts. Aoife keeps it as an archive page: "No longer available", the specifications, the spare parts that still fit, and links to the current fire pits. A dozen other discontinued items with no links and no visits return
404and leave the sitemap and the feed.
The worked example: from 210,000 crawled URLs to the ones that matter
Here is the whole project on Barrow Outdoor, in the order Aoife did it. The steps are the method. The timings and the after figures are invented for the example and labelled as such, because no honest article can promise you a number.
Step 1: measure
Aoife grouped one month of server logs by URL pattern (the series chapter on server log files goes deeper into this) and checked the Crawl Stats report in Search Console, which shows Google's requests by response code, file type and purpose20. The result is the first chart: 210,000 distinct URLs, of which 2,600 useful, a useful share of 1.24%.
She also checked which filter URLs were already in the index. Of the 4,100 indexed pages, a URL Inspection sample and the page indexing report suggested about 2,450 were useful pages and about 1,650 were filter, sort or tracking URLs (my derivation for the example).
Step 2: decide
She ran every one and two facet combination through the four tests and got the list of 120 landing pages from the earlier table. Everything else became "filter only".
Step 3: build the landing pages first
The 120 pages went live on clean paths with their own copy, plain links from their categories and the matching filter values, canonicals to themselves, and a place in the XML sitemap. This comes first so that nothing useful is ever blocked by the rules that follow.
Step 4: noindex the indexed filter URLs, then wait
This is the step most shops skip. If Aoife had added the robots.txt rules straight away, the 1,650 filter and sort URLs already in the index would have been frozen there: Google could no longer fetch them, so it would never see that they should go78. Instead, for four weeks the filter parameter URLs returned a noindex robots meta tag and stayed crawlable. Tracking parameter URLs got a canonical to the clean URL instead. Aoife watched the indexed filter URLs fall in the page indexing report.
Step 5: rebuild the filter panel
The filter panel became controls with the History API instead of links, with a fixed parameter order, 404 for empty and duplicate combinations, and 404 for page numbers beyond the end. The only filter values that remain plain links are the 120 that lead to landing pages. Because this is a change to client side behaviour, she tested it with the URL Inspection live test, as the JavaScript chapter describes, to confirm that the product links on every category page were still present in the rendered HTML.
Step 6: block in robots.txt
With the indexed filter URLs mostly gone, the robots.txt rules from earlier went live. From this point Googlebot stops fetching filter, sort and per page URLs, wherever it finds them.
Step 7: watch
Three months later (example figures), the logs look like this:
The useful share of crawling, with the same formula as before:
With , that is from one useful fetch in 80 to roughly two in three. The remaining third is mostly tracking parameter URLs that Google still checks from time to time, which is acceptable: they carry a canonical and they are a small number.
What this does and does not prove is worth saying clearly. The crawl figures are the direct, mechanical result: blocked URLs are not fetched. Indexing and traffic follow more slowly and less predictably. What Aoife should expect is that new products are crawled sooner, the "Discovered, currently not indexed" pile shrinks, and the 120 landing pages get their chance to rank for searches the shop could not compete for before, because there was no page for them. Whether they rank depends on everything else this series covers, from copy to links. For the broader picture of crawl budget and faster discovery, including IndexNow for Bing and other engines, see the IndexNow article.
What is documented, what is opinion, what is guesswork
It helps to know which kind of statement you are relying on.
Documented by Google: faceted navigation is the most common overcrawl source reported to Google1. robots.txt disallow and fragments prevent crawling of filter URLs, canonical and nofollow are weaker2. robots.txt does not prevent indexing7, and a blocked page's noindex is never seen8. noindex does not save crawl budget4. Return 404 for empty combinations2. rel next and prev are not used by Google, each paginated page has its own canonical, and pagination must use crawlable links13. 404 and 410 are treated the same17. The URL Parameters tool is gone11.
Said by Google employees, not written in the documentation: out of stock pages that offer nothing tend to become soft 404s, unique products belong in an archive16, and redirecting expired products to home or category pages may be treated as a soft 40419. These are consistent statements over years, but they are statements, not rules.
Industry practice and my judgement: the four tests for an indexable combination, the thresholds of about six products and one facet deep by default, the layered setup, and the order "noindex first, block later". This is how careful practitioners handle filters, and it follows from the documented mechanics. It is not a Google instruction.
Guesswork, to avoid: any precise claim about how many URLs Google "allows" your site to crawl, any promise that blocking filter URLs will raise rankings by a set amount, and any rule of the form "Google penalises duplicate filter pages". None of these is supported by Google's documentation.
My view
Filters are a shopper feature that leaks into search by accident. The fix is not to fight Google with clever tags, it is to decide on purpose. Make a short list of the combinations that deserve a page, build those properly, and make everything else invisible to crawlers while keeping it perfectly usable for people.
If I had to pick the single most common mistake, it is the canonical reflex: every filter URL canonical to the category, left crawlable, and assumed to be handled. It is handled for indexing, mostly. It is not handled for crawling, which was the problem in the first place. The second most common is adding robots.txt rules before the already indexed filter URLs have been dropped, which freezes them in the index for months.
And if your platform cannot do the basics (clean URLs for chosen combinations, filters that are not links, a fixed parameter order, 404 for empty results), that is worth knowing before you spend money on content for those pages. It is one of the reasons a shop moves to a system it controls, and the relaunch chapter later in this series covers how to do that without losing what you have. If you would like a second pair of eyes on your own filter setup, no bother, I offer a free workshop where we look at your crawl and your filters together, and my prices are published.
Conclusion
A shop's filters multiply: five facets on one category can produce more than 12,000 URLs, and sort orders and multi select take that into the hundreds of thousands. Google's December 2024 guidance gives two paths: block crawling of filter URLs you do not need, or make the ones you do need clean and crawlable. Most shops need both, split by a deliberate list. A combination earns a landing page when people search for it, it shows enough products, you can write useful copy for it and its contents are stable. Everything else stays a filter, built as controls rather than links and blocked in robots.txt, after any already indexed ones have been dropped with noindex. No single tool does the job alone. Pagination needs one URL per page, real links and a canonical to itself, and sold out products need a decision based on whether they will return. Do that, and the crawler spends its time on the pages that sell.
