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 group | Child sitemaps | What controls inclusion |
|---|---|---|
| Editorial and reference | pages, guides, glossary, templates, compare, blog, tools, best | Family kill-switch plus word-count, source, and placeholder gates |
| Platforms and stacks | platforms, comparisons, tech | Hand-checked profiles, hand-written versus entries, and live stack guides |
| Launch-driven data | categories, launches, stories, makers | 3+ 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.