An XML sitemap is a structured file (typically named sitemap.xml) that lives in your website's root directory and provides search engines with a complete inventory of crawlable URLs. Think of it as a master directory that tells Google, Bing, and other crawlers exactly what pages exist on your site, even if your internal linking structure isn't perfect. The file uses XML markup to list each URL along with optional metadata: last modification date (lastmod), change frequency (changefreq), and priority relative to other pages (priority 0.0 to 1.0). In practice, Google mostly ignores changefreq and priority, focusing instead on lastmod and the simple presence of URLs. For a typical business site, you're looking at dozens to hundreds of URLs. For our portfolio sites at Ottawa SEO, we've managed sitemaps ranging from 15 pages for local service businesses to 5,000+ for content-heavy domains. XML sitemaps don't guarantee indexing or ranking, but they significantly speed up discovery. Without one, Google relies entirely on following links from your homepage and external backlinks. Pages buried three or four clicks deep might take weeks to get crawled. With a sitemap submitted via Google Search Console, new or updated pages often get noticed within hours to days. Key elements in a proper XML sitemap: - Only include indexable URLs (no noindex pages, no redirects, no 404s) - Keep individual sitemaps under 50MB or 50,000 URLs; use sitemap index files for larger sites - Update lastmod accurately when content actually changes - Exclude parameter URLs, duplicate content, and low-value pages We generate sitemaps automatically for client sites using plugins (Yoast, RankMath) or server-side scripts, then validate them before submitting to Search Console. Common mistakes include listing URLs that redirect, including paginated pages that should be canonicalized, or forgetting to update the sitemap after site migrations. A clean sitemap paired with proper robots.txt and crawl budget management keeps indexing efficient, especially critical for newer domains trying to establish authority.