Automated technical SEO checks that catch indexing blocks and deploy regressions — seotto.com

This is a hypothetical case study. The company and numbers are invented; the pattern is a common one on catalogues: filter and sort URLs that were useful as pages became a sitemap, and then became the index.

The setup

A mid-size fashion retailer has a few hundred category pages (/women/shoes, /men/jackets) and a faceted navigation on each: colour, size, brand, price, and a sort (?sort=price, ?sort=newest). Filter URLs look like /women/shoes?color=black&size=38. They return 200, they have a short unique heading ("Black shoes, size 38"), and they are linked from the facet UI.

A sitemap job used to list only the category and product URLs. After a "we should be more complete" ticket, the generator was pointed at a table of "URLs seen in access logs in the last 30 days" and started including any URL that returned 200, including filter combinations.

The category template's canonical was "self": each filter URL canonicalised to itself, because a developer had been asked to give each filter a unique title and thought a self-canonical followed.

The incident

Weeks 1–3 after the sitemap change. The sitemap grew from about 8,000 URLs to more than 90,000. Search Console accepted it. Googlebot's crawl, visible in access logs, moved from a steady pattern on categories and products to a majority of /...?... filter URLs.

Weeks 4–8. Impressions and clicks on the main category pages dropped. Some filter URLs appeared in the index for generic queries ("black shoes") and were thin, poorly converted, and unstable (a combination could have two products one week and none the next). Coverage reports filled with Crawled – currently not indexed, Duplicate, Google chose different canonical, and a long tail of indexed filter URLs nobody had wanted as landing pages.

Week 9. A merchandiser noticed that /women/shoes had lost positions it had held for a year, while /women/shoes?color=black&sort=newest was the URL Google sometimes showed. An SEO consultant (and then the engineering team) traced it to the sitemap and the self-canonicals.

Fixing the immediate damage

They stopped putting filter and sort URLs in the sitemap the same day, and submitted a restored sitemap of categories, products, and content pages only. They changed the category template so filter URLs with any facet or sort parameter canonicalised to the clean category URL, and added noindex, follow on combinations they considered especially thin (multiple facets, or zero/low product counts). They did not 404 the filter URLs, because humans still use them.

Recovery of the main category pages took most of a quarter, not a week. Many filter URLs lingered in the index and in "crawled, not indexed" until they were recrawled under the new canonicals.

A sitemap is an invitation to crawl. If you invite every filter combination, that is where the crawl will go. seotto.com watches for indexing and template regressions after you ship, so a sitemap or canonical change that suddenly exposes tens of thousands of parameter URLs gets noticed as a change, not as a traffic dip two months later.

What actually went wrong

The sitemap was built from "URLs that exist", not from "URLs we want in the index". Access logs are a record of what was requested, including bots following facets, including users sorting by price. That is not an editorial list.

Self-canonicals on thin variants made each filter a claimant to the topic. Unique titles plus self-canonicals plus sitemap inclusion is a consistent signal: "please treat this as a document". Google tried.

Facets were crawlable without limits. The UI linked colour, then size, then sort, and crawlers walked the graph. Without nofollow, robots.txt, or a consistent canonical, the graph is huge.

Nobody watched crawl mix after the sitemap change. The logs would have shown the shift in week one. The traffic dip was the late symptom.

The fixes

1. Sitemaps are an allowlist. Categories, products (indexable ones), articles, and a few tools. Parameter URLs stay out, even if they 200.

2. Canonicalise parameter variants to the clean category, except for a handful of filters you truly want as landing pages (for example, a high-demand "black shoes" that you have written unique content for). Those few can be in the sitemap, with a self-canonical, as a deliberate exception list.

3. noindex on multi-facet and zero-result URLs, and on all sort= variants. Humans can still use them; they should not compete in the index.

4. Don't let the facet graph be infinite. Some combinations can be nofollow, or simply not rendered as links (apply filters via a form, not a new crawlable URL, if you don't want them crawled).

5. After any sitemap or canonical change, plot Googlebot requests by URL pattern for a week. If the share of ? URLs jumps, you have the incident in time to reverse it.

A small check in CI: the sitemap generator fails if it would include a URL with a query string, unless that exact pattern is on the exception list.

What I'd take from it

Facets are a user interface. Only a few of them are documents. A sitemap cannot tell the difference unless you teach it, and Search Console will spend a long time in the places you pointed at. Category pages do not usually lose rankings overnight; they lose them while a crawler is busy somewhere else.

Related reading

Have you ever put filter or sort URLs in a sitemap (on purpose or by accident)? How long did it take to get the category pages back where they were?