Create an XML Sitemap for Google
An XML sitemap tells Google about every page on your site and helps it discover content faster. Submitting to Google Search Console gives Google a complete map to crawl.
What a sitemap contains
- <loc> — the full URL of each page
- <lastmod> — when the page was last updated (helps with crawl freshness)
- <changefreq> — hint to crawlers (weekly, monthly, yearly) — Google may ignore this
- <priority> — 0.0–1.0 relative importance hint — also largely ignored by Google
Submitting to Google Search Console
- Go to Google Search Console → Sitemaps
- Enter your sitemap URL (e.g. https://yoursite.com/sitemap.xml)
- Click Submit
- Monitor for errors and coverage status
Frequently Asked Questions
Do I need a sitemap if my site has internal links?
Not strictly — Googlebot can discover pages by following links. But sitemaps guarantee discovery and help with large sites or newly published content.
How often should I update my sitemap?
Whenever you add or remove pages. Automated sitemaps (CMS plugins, Next.js) handle this automatically.
