WarningTechnical
Missing XML Sitemap: How to Fix It
An XML sitemap lists the URLs on your site that you want search engines to discover and index.
Quick fix: Create a sitemap.xml, upload it to your site root, list it in robots.txt, and submit it in Google Search Console.
Why it matters for SEO
Sitemaps help Google find new and deep pages faster, especially on new sites with few backlinks.
How to fix it
- 1Generate a sitemap.xml with your CMS, a plugin, or a sitemap generator.
- 2Upload it to your site root so it opens at /sitemap.xml.
- 3Add a Sitemap: line to robots.txt.
- 4Submit it in Google Search Console under Sitemaps.
Example
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>https://example.com/</loc></url>
</urlset>Free tools to fix it
Frequently asked questions
How many URLs can a sitemap hold?
Up to 50,000 URLs or 50 MB. Larger sites use a sitemap index file.
Should every page be in the sitemap?
Only pages you want indexed: live, canonical pages that return 200.
Does your website have this issue?
Run a free SEO audit to check this and 40+ other issues in seconds.