<?xml version="1.0" encoding="UTF-8"?>
<!--
  Sitemap index — 2026-04-23 cleanup; comment refreshed 2026-06-04.

  This is the LIVE /sitemap.xml. Firebase Hosting serves this static file
  in preference to the `sitemap` Cloud Function rewrite, so keep it in sync
  with the index emitted by backend/functions/modules/seo.js (same 4 sub-
  sitemaps). The CF only actually serves /sitemap-events|blog|resources.xml
  (no static files for those).

  ONLY English is in the sitemap, BY DESIGN. Do NOT re-add non-English
  locale sitemaps (es/fr/de/pt/ar/he/sv/hi/id). They were tried twice
  (2026-04-21) and caused massive GSC indexing failures. /{locale}/* paths
  are NOT SEO-localized pages: a bot hitting /es/pricing etc. gets HTTP 410
  Gone (prerender.js ~L884, the locale-prefix middleware ABOVE prerender),
  with a browser-side meta-refresh 301 to the English equivalent for humans.
  Submitting locale sitemaps therefore feeds Googlebot a wall of 410/redirect
  URLs → "Page with redirect" + "Alternate page with proper canonical tag"
  buckets, burning crawl budget. NOTE: sitemap-pages-en.xml intentionally
  carries NO <xhtml:link> hreflang annotations for the same reason — adding
  them would point at the dead /es//hi/ etc. URLs (do NOT run
  scripts/fix-blog-hreflang.js against the live file).

  Client-side i18n still works for signed-in users with non-English browser
  locales — it's just deliberately invisible to crawlers until the routing
  serves genuinely localized, indexable pages at /{locale}/*.

  GSC HOUSEKEEPING (manual, console-only — no sitemaps.delete CF exists):
  the ~9 historical locale page-sitemaps + sitemap-glossary.xml that still
  show as "submitted" in GSC are ORPHANS (no code serves them; they 404 /
  are empty). Remove them in Search Console → Sitemaps so the error buckets
  clear. Resubmit only /sitemap.xml.
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://whos-in.app/sitemap-pages-en.xml</loc>
    <lastmod>2026-05-19</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://whos-in.app/sitemap-events.xml</loc>
    <lastmod>2026-05-08</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://whos-in.app/sitemap-blog.xml</loc>
    <lastmod>2026-05-08</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://whos-in.app/sitemap-resources.xml</loc>
    <lastmod>2026-05-08</lastmod>
  </sitemap>
</sitemapindex>
