Faceted navigation is the set of filters on a category page: color, size, brand, price, material. A shopper picks a filter, and the page shows a narrower list. That is good for shoppers. The problem is what happens behind the scenes. Each filter choice usually adds a parameter to the URL, and each combination of filters creates a new URL. Four filters with ten values each can create ten thousand combinations for one category, and a whole catalog can create hundreds of thousands. Crawlers then spend their time visiting near duplicate pages, and take longer to find your new products.

Platform screens change. If a menu name here does not match what you see, check the vendor docs linked in Sources for the current path.

Google says faceted navigation URLs can cause overcrawling, because crawlers cannot tell whether a filtered URL will be useful without crawling it first, and that crawling those URLs costs server resources and can slow the discovery of new pages. Google also says there is often no good reason to allow crawling of filtered listings. This guide shows you how to keep the filters for shoppers, while keeping the flood of filtered URLs away from crawlers, and how to choose the few filtered pages that are worth keeping.

What this guide covers

This guide walks through the faceted navigation job in five parts. First, you count the problem, and you learn how many filtered URLs your site creates. Second, you decide which filters to keep open to crawlers, and which to close. Third, you close the rest with robots.txt, the method Google names first. Fourth, you fix the filtered pages you do keep, so each one is a real page with its own content. Fifth, you check the result in Search Console, and you keep the filters clean as the catalog changes.

The goal is not to remove filters. Shoppers need them. The goal is to decide, filter by filter, whether a filtered view earns a place in search, or whether it should stay a tool for shoppers on the page only.

Who does each step

Marketer work is listing the filters, deciding which filtered views shoppers search for, and checking Search Console for crawl and index problems. Developer work is changing how filters build URLs, adding the robots.txt rules, adding canonical tags, and fixing anything that needs a template change. The owner decides which filtered views are real shopping destinations, such as a color or a size that shoppers ask for by name, and which are only a way to narrow a list. Start with your largest categories, because that is where the flood is biggest.

Step 1: count the filtered URLs your site creates

Start by opening a category page, and picking a filter. Watch the address bar. If the address gains a parameter, such as a color or size value after a question mark, your filters build URLs that crawlers can follow. Pick a second filter, and watch the address change again. Each combination is a new URL, and each new URL is a page a crawler may visit.

Count the combinations for one large category. Multiply the number of values in each filter together, and you will see how fast the count grows. A category with four filters and ten values each has ten thousand combinations. A category with six filters has far more. You do not need an exact count. You need to see that the number is large, and that most of those combinations differ only by a narrower product list, with no new content of their own.

Check Search Console for the signs of the flood. Look for a large number of pages listed as discovered but not indexed, for filtered URLs appearing in the index, and for new products taking a long time to appear in search.

Not every filtered view is worthless. Some filtered views match what shoppers search for, and those deserve to be real pages. A page for red running shoes, or for waterproof boots in a wide fit, can be a useful destination, if shoppers ask for it and if the page has its own content. Most filtered views are not like that. A page for red shoes in size 9, sorted by price, with no content of its own, is a copy of the category with a narrower list, and it earns nothing by being in search.

Make a list of your filters, and mark each one as open or closed. Open means the filtered view can be crawled and indexed, because shoppers search for it and the page will carry its own content. Closed means the filtered view stays a tool for shoppers on the page, and crawlers are kept out. A good rule is to open only the filters that match a real search, such as a color, a material, or a product type that shoppers name, and to close the rest, such as sort order, price ranges, and combinations of three or more filters.

Step 3: close the rest with robots.txt

Google names robots.txt as the way to prevent crawling of faceted navigation URLs. A robots.txt rule can disallow URLs that carry a filter parameter, while keeping the unfiltered category page open. The code block in the machine-readable section shows the pattern: a group for all crawlers, with a Disallow rule for each filter parameter, and an Allow rule that keeps the plain category page open.

The rules use the wildcard and the end anchor that the robots standard defines. A star matches any run of characters, and a dollar sign marks the end of the URL. A rule that disallows any URL carrying a color parameter will block every color filter, in every category, with one line. A rule that disallows a sort parameter will block every sorted view. Keep the rules short, and keep them to the parameters that build filtered views, so you do not block product pages or content pages by accident.

Test the rules before you publish them. Open a filtered URL in a browser, and confirm it still works for a shopper, because robots.txt does not change what a shopper sees, only what a crawler is asked to fetch. Then check the rules in Search Console, and confirm the filtered URLs are no longer being crawled.

Step 4: fix the filtered pages you do keep

A filtered page that you keep open to crawlers must earn its place. Give it a clear title that names the filter, such as the color or material it covers. Give it a short introduction that says who the products are for and what makes them different. Give it a product list that matches the filter, with no products that break the filter. If the page lists a blue shoe on a page for red shoes, the page is wrong, and a shopper will leave.

Use one fixed order for the parameters in the URL, and use the standard separator, the ampersand, between parameters. Google says characters such as commas, semicolons, and brackets are hard for crawlers to detect as parameter separators, so use the ampersand. A fixed order means one filtered view has one address, not several addresses that show the same list.

Step 5: check the result, and keep the filters clean

After the change, check Search Console for the signs that the flood is easing. The number of filtered URLs being crawled should fall. The number of pages stuck as discovered but not indexed should fall. New products should appear in search sooner, because crawlers are spending less time on filtered duplicates. These changes take time, because crawlers revisit pages on their own schedule, and no change to robots.txt takes effect in an hour. Give the change a few weeks, and check the trend rather than a single day.

Add a check to your routine when you add a filter, a category, or a product line. Open a category page, pick the new filter, and watch the address bar. If the new filter adds a parameter, add it to the robots rules, unless the list from step two says it earns a place in search. If a filtered page that you kept open starts to show the wrong products, or an empty list, fix the filter or close the page. A filter that is never checked will drift, and the flood will return one parameter at a time.

Machine-readable version you can copy

This section gives you two copy-ready blocks, built only from formats verified in the vendor docs linked in Sources. Replace the example parameter names with your own, and test the rules before you publish them.

First, a robots.txt block that disallows filtered URLs for all crawlers, while keeping the plain category page open. The pattern comes from Google's faceted navigation guide, which shows Disallow rules for filter parameters and an Allow rule for the unfiltered view. The star matches any run of characters, and the dollar sign marks the end of the URL.

code
User-agent: *
Disallow: /*?*color=
Disallow: /*?*size=
Disallow: /*?*sort=
Allow: /*?category=shoes$

Second, a canonical link tag for a filtered page that is a duplicate of its category. Put this tag in the head of the filtered page, with the address of the unfiltered category page in place of the example. The tag tells search systems which version should get the credit for ranking.

code
<link rel="canonical" href="https://www.example.com/category/shoes" />

Worked example: a shoe shop with ten thousand URLs for one category

Take a shoe shop with one large category: running shoes. The category had filters for color, size, brand, price, and sort order. Each filter added a parameter to the URL, and shoppers could combine them freely. The category alone had ten thousand filtered combinations, and the whole catalog had far more. Search Console showed a large number of pages discovered but not indexed, and new shoes took a long time to appear in search.

The owner listed the filters, and marked only two as open: color and brand, because shoppers searched for red running shoes and for named brands. She closed size, price, and sort order, because those are ways to narrow a list, not destinations shoppers search for. Her developer added robots.txt rules for the closed parameters, and kept the plain category page open. She gave the open filtered pages a clear title and a short introduction, and she fixed the parameter order so each filtered view had one address. She checked Search Console over the next few weeks, and the number of filtered URLs being crawled fell, and new shoes began to appear in search sooner. The filters still worked for shoppers. They had only stopped flooding the crawlers.

Frequently Asked Questions

What is faceted navigation, in plain words?

The filters on a category page: color, size, brand, price, material. Each filter choice usually adds a parameter to the URL, and each combination creates a new URL. That is useful for shoppers, and it is a flood for crawlers when the combinations run into the thousands.

Should I remove filters from my site?

No. Shoppers need filters to narrow a large list. The fix is to keep the filters for shoppers, while keeping most filtered URLs away from crawlers with robots.txt, and to keep only the few filtered views that shoppers search for as real pages.

Is robots.txt better than a canonical tag for this?

Yes, for keeping filtered URLs out of the crawl. Google says canonical and nofollow are generally less effective over the long term than robots.txt and fragments. Use robots.txt as the main fix, and the canonical tag as a backup for the pages that slip through.

Which filtered views should I keep open?

Only the ones shoppers search for, such as a color or a material that shoppers name, and only when the page will carry its own content. Close sort order, price ranges, and combinations of three or more filters, because those are ways to narrow a list, not destinations.

How long before I see a change?

Give it a few weeks. Crawlers revisit pages on their own schedule, and no robots.txt change takes effect in an hour. Check the trend in Search Console, not a single day, and look for fewer filtered URLs being crawled and fewer pages stuck as discovered but not indexed.