{
  "id": 22314108,
  "title": "Our Sitemap Dropped From 13,403 Products to 3,000. The Filter Was Working Perfectly.",
  "url": "https://urgent.news/2026/11/28/our-sitemap-dropped-from-13-403-products-to-3-000-the-filter-was",
  "topic": "business",
  "section": "Business",
  "published": "2026-11-28T06:16:51.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/visen_7809cf1871d161956b0/our-sitemap-dropped-from-13403-products-to-3000-the-filter-was-working-perfectly-mko"
  },
  "original_language": "en",
  "account": "The product sitemap for superwander.shop reduced from 13,403 URLs to just 3,000 URLs in a single day. The change was not due to any manual intervention, but rather a filter that was functioning as intended. This story highlights the importance of understanding how a filter works and testing it thoroughly before implementation. In this case, the filter was designed to exclude certain products from the sitemap based on their description length and similarity to boilerplate text.\n\nHowever, the filter inadvertently excluded 89% of the entire catalogue due to a flaw in its design. The filter flagged normal product specifications as duplicate content because it compared them against a boilerplate block used in the spec table header of every listing. This resulted in an extremely high exclusion rate, despite the fact that the products were still live, indexable, and linked from category pages. The issue went unnoticed for weeks until a weekly check revealed the discrepancy in the number of products in the sitemap compared to the catalogue.\n\nTo address this issue, the team decided not to adjust the threshold arbitrarily, but rather to separate the two conditions in the filter. They kept the length condition but measured the description after removing the spec table, setting a per-category floor for the minimum length. For the boilerplate overlap condition, they changed the comparison to consider other products' prose and increased the required match length to 25 words. They also implemented a reporting feature that logs excluded/skipped products along with the reasons for exclusion, allowing for easier identification and correction of issues. Regular audits and random manual reviews were introduced to ensure the rule remains accurate and effective.",
  "summary": "Our product sitemap had 13,403 URLs on Thursday. On Friday it had 3,000. Nobody touched the products. We had touched the rule that decides which products go in. This is a post about a filter that did exactly what it was told and still produced the wrong result, and about why \"how many rows did this exclude?\" is a question you should ask on the day you write the filter, not three weeks later. What…",
  "summary_source": "publisher",
  "key_points": [
    "Superwander.shop's product sitemap reduced from 13,403 to 3,000 URLs",
    "Filter excluded 89% of products due to flaw in design",
    "Team separated filter conditions to resolve exclusion issue"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}