Crawl · NinjaOps Guides
sitemap.xml: Size Limits, Counts, and the Right Submission
One sitemap file caps at 50,000 URLs (and 50MB). Split into an index of shards, reference each from robots.txt, and resubmit on change — this is how Google finds your programmatic pages fast.
How to fix it
- Keep each file under 50k URLs; shard by category or type.
- Reference every shard from robots.txt and a sitemap index.
- Only include canonical, indexable URLs — never redirects or 404s.
- Re-submit in Search Console when the sitemap meaningfully changes.
Diagnose this exact issue on your site — free
The 100-Point Affiliate Site Grader runs this check (and 40+ more) on your live site in ~10 seconds. No signup.
Want it fixed for you?
The Zero-Overhead Affiliate Playbook walks through every gap in this guide in 14 days on a $0 stack. Join the launch list →
More Crawl fixes: