An XML sitemap is your direct communication channel with Google. While Googlebot can discover most pages through crawling, a properly structured sitemap dramatically accelerates indexing and ensures no pages are missed.
Basic Sitemap Structure
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2025-01-15</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/blog/seo-guide</loc>
<lastmod>2025-01-14</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Priority Values Explained
1.0 — Homepage only
0.9 — Top category pages
0.8 — Active blog posts
0.6-0.7 — Regular content
0.3-0.5 — Legal pages
Submitting to Google Search Console
Navigate to Indexing → Sitemaps in Search Console. Enter your sitemap URL and click Submit. Google starts processing within hours and shows indexing status within 24-72 hours.
Sitemap Index for Large Sites
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-posts.xml</loc>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-products.xml</loc>
</sitemap>
</sitemapindex>