← HomeHow to Get Cited in AI
Answer

How should large sites structure their sitemap?

By Jason Burns, Founder of HurcuLeads · Stuff Doer at Adolicious · Updated

Large sites should structure their sitemap as a sitemap index pointing at multiple child sitemaps, each holding up to 50,000 URLs or 50MB uncompressed, and reference the index from robots.txt so every crawler — search and AI — can discover the full URL surface in one round trip.

The 50,000-URL and 50MB limits are set by the sitemaps.org protocol and reiterated in Google's large-sitemap documentation. When a site exceeds either, split into multiple sitemaps and expose a <sitemapindex> file that lists them.

Practical structure for a content site with tens of thousands of pages: one child sitemap per content type (articles, answers, products, categories), each capped at 45,000–50,000 URLs, with a lastmod on every entry driven by the row's real modification date. Regenerate on write, not on a batch schedule — a stale sitemap wastes crawl budget.

Reference the sitemap index from robots.txt with a Sitemap: line — Google's robots.txt guide and RFC 9309 both document the directive, and most AI crawlers respect it too.

Never list URLs in a sitemap that return 404 or a soft-404 — Google's guidance is explicit that a sitemap listing broken URLs erodes crawl trust. Test with the Search Console Sitemaps report and with a random-sample fetch from your production origin.

Related terms

Sources

Related questions people ask next

  • What is IndexNow and why does it matter for ChatGPT?

    IndexNow is an open protocol jointly announced by Microsoft Bing and Yandex that lets a site push new or changed URLs to participating search engines in near real time — and it matters for ChatGPT because ChatGPT Search's live web results are anchored on Bing's index.

  • Why do canonical URLs matter for AI answers?

    Canonical URLs matter for AI answers because they tell the retrieval layer which single URL should carry the citation credit when the same content is reachable at multiple addresses — without a canonical, the model may cite the wrong copy or split authority across duplicates.

  • How should robots.txt handle AI crawlers?

    Handle AI crawlers in robots.txt by explicitly listing each user agent — GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Perplexity-User, Google-Extended — and setting Allow or Disallow per bot to match your policy on training, search citation, and live-fetch use.

  • What is llms.txt and does it actually work?

    llms.txt is a proposed plain-text file at a site's root that lists the URLs and short descriptions a site owner wants LLMs to prioritize when summarizing that site — and as of mid-2026 no major answer engine has confirmed that it uses the file for retrieval or citation.