Skip to content

fix: split pillar sitemap into chunks for GSC compatibility#120

Merged
johnshift merged 2 commits intodevfrom
fix/sitemap-split-for-gsc
Mar 9, 2026
Merged

fix: split pillar sitemap into chunks for GSC compatibility#120
johnshift merged 2 commits intodevfrom
fix/sitemap-split-for-gsc

Conversation

@johnshift
Copy link
Copy Markdown
Collaborator

Summary

  • Pillar sitemap (sitemap2.xml) was 1.1MB uncompressed with 8,304 URLs, causing Google Search Console to timeout when fetching
  • Split into ~3,000 URL chunks using Next.js generateSitemaps() convention, keeping each child sitemap under 500KB
  • Sitemap index at /sitemap.xml now dynamically references all child sitemaps (/sitemap/static.xml, /sitemap/pillar-{n}.xml, /sitemap/jobs.xml)
  • Removed old numbered sitemap route handlers (sitemap1.xml, sitemap2.xml, sitemap3.xml)
  • robots.txt already references /sitemap.xml — no changes needed

The pillar sitemap (sitemap2.xml) was 1.1MB uncompressed with 8,304 URLs,
causing Google Search Console to timeout when fetching. Split into ~3,000
URL chunks using Next.js generateSitemaps() convention, keeping each under
500KB. The sitemap index at /sitemap.xml now dynamically references all
child sitemaps. Old numbered sitemap route handlers removed.
@github-actions github-actions bot added the fix Bug fix label Mar 9, 2026
@johnshift johnshift merged commit 0b34b58 into dev Mar 9, 2026
7 checks passed
@johnshift johnshift deleted the fix/sitemap-split-for-gsc branch March 9, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant