An XML sitemap is a file that lists every page on your site for search engines to find. If you’re not sure whether yours exists, whether it’s correct, or whether Google has actually seen it, this post walks through exactly how to check — and fixes the gaps if it’s missing.
What an XML Sitemap Actually Is
An XML sitemap is a structured file, usually located at yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml, that lists the URLs on your site along with metadata about each one — when it was last modified, how important it is relative to other pages, and how often it changes. It’s written in XML format specifically so search engine crawlers can parse it automatically, rather than a human-readable page.
The sitemap doesn’t control rankings directly. What it does is give search engines a complete, explicit list of every page you want indexed, rather than relying entirely on crawlers discovering pages by following links. For a site with strong internal linking, crawlers will eventually find most pages anyway. For a newer site, a site with orphaned pages, or a large site with deep page hierarchies, the sitemap is the difference between a page getting found quickly and a page sitting unindexed for weeks or months.
Why a Sitemap Matters More Than People Assume
The most direct value: it tells search engines pages exist that they might not otherwise discover promptly. A brand new post, a page with no internal links pointing to it yet, a page buried several clicks deep in your site structure — all of these get found faster with a sitemap than without one.
It also communicates freshness. The lastmod date on each URL tells crawlers when content changed, which can prompt a re-crawl of updated pages sooner than they’d otherwise be revisited.
For an e-commerce site or any site with a large number of pages, the sitemap also helps search engines prioritize — the metadata can signal which pages matter most, helping crawlers allocate their limited crawl budget more efficiently across your site.
How to Check Whether Your Sitemap Exists
If your site runs WordPress with Rank Math or Yoast installed, a sitemap is generated automatically. To check:
- Go to
yourdomain.com/sitemap_index.xmlin your browser - You should see an XML file listing sub-sitemaps — typically organized by content type (posts, pages, categories)
- Click into one of those sub-sitemaps and confirm it lists actual URLs from your site with recent
lastmoddates
If that URL returns a 404 or an empty page, your sitemap either isn’t being generated or is located somewhere else. Check your SEO plugin’s settings — in Rank Math, go to Rank Math → Sitemap Settings and confirm the sitemap toggle is enabled.
How to Verify It’s Actually Submitted to Google
Having a sitemap file existing on your server isn’t the same as Google knowing about it. You need to explicitly submit it through Google Search Console.
- Log into Google Search Console
- Select your property (add it first if you haven’t — verification is usually one click if Rank Math’s Search Console integration is connected)
- In the left sidebar, click Sitemaps
- Enter your sitemap URL (just
sitemap_index.xml— Search Console already knows your domain) and click Submit - Refresh after a moment — status should show Success along with the number of URLs discovered
Sitemap health check — what to verify
Checking Whether Your Pages Are Actually Indexed
Submitting a sitemap and having pages indexed are two different things. In Search Console, click Pages under the Indexing section. This shows how many of your submitted URLs are indexed versus excluded, and gives a reason for each exclusion — “Discovered, not indexed,” “Crawled, not indexed,” “Duplicate content,” and others.
If a meaningful number of pages show as not indexed, that’s worth investigating specifically — it can point to thin content, technical issues, or simply pages that are too new to have been crawled yet.
Frequently Asked Questions
Do I need to manually update my sitemap when I publish new content?
No. If you’re using an SEO plugin like Rank Math, the sitemap regenerates automatically every time you publish, update, or delete content. There’s no manual step required after initial setup.
How often does Google recrawl my sitemap?
There’s no fixed schedule — Google recrawls based on a site’s crawl budget, which is influenced by site authority, update frequency, and server response speed. New or smaller sites are typically crawled less frequently than established, high-authority sites.
Can having a sitemap hurt my SEO?
No. A sitemap can’t hurt rankings. The only risk is an incorrectly configured sitemap listing broken URLs, noindexed pages, or duplicate content — which wastes crawl budget rather than actively penalizing the site.
What’s the difference between a sitemap and robots.txt?
A sitemap tells search engines what to include. A robots.txt file tells crawlers what to avoid crawling. They serve opposite, complementary purposes — most sites need both, and robots.txt often includes a direct reference to the sitemap’s location.
The short version: An XML sitemap gives search engines an explicit list of every page on your site, speeding up discovery and indexing — especially for new content and pages without strong internal linking. Check that yours exists at /sitemap_index.xml, confirm it’s submitted in Google Search Console under Sitemaps, and check the Pages report to confirm your content is actually being indexed, not just discovered. If you’re on a HostDango account with Rank Math installed, this is handled automatically — the only step left is submitting it to Search Console if you haven’t already.