Esc
  • Jump to
  • The board
  • All launchesSort and filter by week or category
  • Open statsEvery number, in public
  • Maker storiesApps that stopped hiding
  • Submit a launch
  • AICategory
  • AnalyticsCategory
  • API & BackendCategory
  • Audio & VoiceCategory
  • AutomationCategory
  • CommunityCategory
↑↓ to move↵ to openPress / anywhere
Sign in

Why We Split Our Sitemap Into 13 Family Files

One flat sitemap hides which part of your site Search Console stopped indexing. Splitting /sitemap.xml into one child file per page family gives every template its own report.

By Pritam Ghosh, founder of HauntboardUpdated 4 min read

According to Google Search Central's sitemap documentation, a single XML sitemap can hold up to 50,000 URLs or 50 MB uncompressed. Hauntboard has fewer than a thousand public URLs, so technically every page on the domain could sit inside one file. We split /sitemap.xml into per-family child sitemaps anyway, because a single flat file makes Search Console diagnostics blurry as soon as a library grows past a few templates.

When you ship guides, glossary definitions, copyable templates, software comparisons, buyer lists, platform reviews, free tools, and user-submitted product pages on one domain, each family behaves differently in search. Keeping them in one list hides which group is healthy and which one is stalling.

Why One Flat Sitemap Hides Problems

Imagine submitting 500 URLs in a single sitemap and watching Google Search Console report 390 indexed pages and 110 excluded pages. That aggregate number does not tell you what happened. Maybe 100% of your founder guides and free tools are indexed while 80% of a newly added reference family is stuck in "Crawled - currently not indexed."

To figure that out from a flat sitemap, you have to sample URLs one by one in the URL Inspection tool or export rows and group them by path prefix in a spreadsheet. That friction means founders check later than they should. When each page family owns its own child sitemap at the site root, Search Console's Sitemaps report shows submitted versus indexed counts per family without manual filtering. You can see immediately whether a new batch of glossary terms is being absorbed at 90% or stalling at 35%.

How Our Sitemaps Code Builds the Index

Our sitemap assembly lives in lib/seo/sitemaps.ts and powers the route handlers inside app/(sitemaps)/. Instead of maintaining separate lists of URLs in two places, sitemapEntries() pulls static editorial families directly from the gated arrays in lib/seo/gates.ts and reads dynamic launch-driven entries from Convex through cachedQuery(api.sitemap.entries, {}, 3600).

The file defines fifteen ordered families in SITEMAP_FAMILIES: pages, guides, glossary, templates, compare, blog, tools, best, platforms, comparisons, tech, categories, launches, stories, and makers. Each family maps via sitemapPath(family) to a root-level route such as /sitemap-guides.xml, /sitemap-glossary.xml, or /sitemap-launches.xml. Hosting every child file at the site root ensures clean scope matching when submitted inside Search Console, because Google requires a sitemap placed in a subdirectory to list only URLs within that path or deeper.

For visitors who prefer browsing links in a browser, the HTML sitemap mirrors those same families and visibility gates. Core hub routes such as /glossary, /templates, /compare, and /makers also enter /sitemap-pages.xml only when their family switch is enabled and they have at least one eligible child URL.

Why 13 of 15 Families Are Active Today

Even though SITEMAP_FAMILIES declares fifteen slots, sitemapIndexXml() filters the index with SITEMAP_FAMILIES.filter((f) => families[f].length > 0). Any family that currently has zero eligible URLs is omitted from /sitemap.xml completely rather than published as an empty <urlset>.

Family groupChild sitemapsWhat controls inclusion
Editorial and referencepages, guides, glossary, templates, compare, blog, tools, bestFamily kill-switch plus word-count, source, and placeholder gates
Platforms and stacksplatforms, comparisons, techHand-checked profiles, hand-written versus entries, and live stack guides
Launch-driven datacategories, launches, stories, makers3+ launches per category, approved launches, published stories, and eligible opted-in makers

When neither published maker stories nor multi-launch opted-in maker profiles are present yet, stories and makers stay out of the index automatically, leaving 13 active child sitemaps in production. The moment the first story publishes or a second launch pushes a maker profile past its gate, that child sitemap activates in the next hourly refresh with zero manual edits. Meanwhile, week archives no longer get their own sitemap at all because next.config.ts permanently redirects them to filtered views on the main launches page.

Accurate Dates Without Inflated Signals

Google's sitemap guide notes that search engines ignore <priority> and <changefreq> tags, and use <lastmod> only when it reflects real, verifiable updates. Bumping every page's date on every deploy teaches crawlers to ignore your timestamps.

In lib/seo/sitemaps.ts, we leave priority and change frequency out completely. Every URL receives its genuine updatedAt or lastModified value formatted by w3cDate(), keeping plain YYYY-MM-DD dates intact and converting numeric timestamps to ISO strings. Hub pages inside /sitemap-pages.xml use a newest() helper so a hub's date moves only when one of its underlying child entries changes. You can read more about our timestamp rules on our editorial policy page and in our XML sitemap glossary entry.

Measuring Indexed Share and Pause Rules

Splitting the index is only useful if it changes what we ship next. As laid out in our quality gates walkthrough, every new content batch waits for Search Console feedback before the same family grows again. Our targets per child sitemap are explicit:

  • Healthy family: 80% or more of submitted URLs indexed within eight weeks of a batch, with impressions starting in two to six weeks.
  • Pause trigger: indexed share sitting below 50% after eight weeks, "Crawled - currently not indexed" rising past 30% of the family, or zero impressions across an entire batch after three months.
  • Duplicate trigger: any URL showing "Duplicate, Google chose different canonical than user" stops new publishing until the overlap is merged.

If a family misses those numbers, we pause new pages in that family, audit the weakest entries, and rewrite or apply noindex before expanding further. For founders setting up their own monitoring, our Search Console setup guide and our guide on fixing Crawled - currently not indexed cover the exact same workflow step by step.

Share

in

Pritam Ghosh runs Hauntboard and writes this blog (@iPritamX on X).

Published · Updated

Don't be a ghost. Launch on Hauntboard.

A person reviews every launch, and every view and visit it gets is public. Launching is free.

Launch free →

More from the blog

All posts →

On the board

All →

Still hiding your app?

Put it on the board. Reviewed by a person, free to launch.

Launch free
Submit a launch