2026-11-04

XML sitemap: how to build it and submit it to Google correctly

What a sitemap should and should not contain, its technical limits, and how to submit and monitor it in Search Console.

By Khalid Namra6 min read

Quick answer

An XML sitemap lists the URLs you want Google to index. Include only canonical, indexable pages (status 200, no noindex). The limit is 50,000 URLs or 50 MB per file. Submit it in Search Console and reference it in robots.txt.

What to leave out

  • Redirected (301) or 404 pages
  • noindex pages or pages canonicalised elsewhere
  • Internal search and filter URLs

lastmod and priority

Google uses lastmod only when it is consistently accurate and ignores priority and changefreq. Do not stamp today's date on every page; it makes the field worthless.

Frequently asked questions

Does a small site need a sitemap?

Not essential if pages are well linked, but useful for new sites.

What do submitted vs indexed mean?

Submitted count does not mean indexed; check key pages with URL Inspection.

Related SADARA services

  • Sadara SEOSadara SEO is the Sadara platform (getsadara.com) for Arabic SEO: it audits your site, uncovers what keeps it out of Google's top results, and turns findings into weekly, practical steps in your market's language.

Leadership is a decision

Send your site link and get an initial analysis of your visibility across search and AI engines.