Glossary

What is Sitemap.xml?

Also called: XML sitemap, Sitemap

A sitemap is an XML file, usually at /sitemap.xml, that lists your pages. It can also point to other sitemap files.

Why it matters

It helps search engines find pages that few links lead to. It does not guarantee pages are listed, and small sites with good links do fine without one.

How Onbiom checks it

Sitemap: Onbiom requests /sitemap.xml. It passes when the file is XML with a urlset or sitemapindex root. Files with a DOCTYPE or entity declaration are refused. No file is not applicable and not counted in your score.

Sitemap addresses: Onbiom also reads sitemaps named in robots.txt and opens up to 5 same-site addresses. It fails if any redirect, return an error or carry noindex. It is a sample, not a crawl.

In your report this appears as: Optional sitemap XML; Sitemap addresses that load.

How to check it yourself

  1. Open yoursite.com/sitemap.xml in a browser.
  2. Check it shows a list of page addresses.
  3. Open a few and confirm they load without redirecting.
curl -s https://example.com/sitemap.xml | head -20

Not sure about your own site? Paste your address and see in a minute which of these checks your site passes. Free, no account needed.

Check your site

How to fix it

WordPress
Most SEO plugins and recent WordPress itself publish /sitemap.xml. Switch it on in the plugin settings.
Shopify
Shopify publishes /sitemap.xml automatically.
Wix
Wix creates a sitemap automatically. View it at /sitemap.xml.
Any website
Ask your web person or hosting company to make the change, and send them the wording from your report.

Related terms

Sources and further reading

Last reviewed: