Technical SEO

What Is an XML Sitemap? (And How to Submit Yours)

What an XML sitemap is, what it looks like, how to find yours, how to submit it to Google, and the sitemap mistakes that quietly waste crawl budget.

9 min readBy the ProRank team
A structured site map guiding crawlers to every important page

An XML sitemap is the list of pages you are formally asking search engines to crawl.It is not a ranking factor and it does not force indexing — it is a discovery mechanism, and a statement of intent: these URLs, and only these, are the ones I stand behind. Most sites have one automatically; most also quietly fill it with URLs that should not be there.

how to submit xml sitemap to google” — 320 searches/mo (Google, US)
What people ask about XML sitemaps
how to submit xml sitemap to google320/mo
how to find xml sitemap on site70/mo
how to find xml sitemap40/mo
what is xml sitemap in seo30/mo
what does an xml sitemap look like30/mo

Average monthly US search volume. Source: Google autocomplete demand via AnswerThePublic, 2026.

What an XML sitemap looks like

Underneath the mystique it is a plain XML file: a list of <url> entries, each with a location and usually a last-modified date.

sitemap.xml — the basic shape
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-08-01</lastmod>
  </url>
  <url>
    <loc>https://example.com/services/roof-repair/</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
</urlset>

Large sites split this across multiple sitemaps behind a sitemap index(a sitemap of sitemaps) — typically one per content type: posts, pages, products, categories, images. That structure is not just for size limits; it makes indexing problems diagnosable, because Search Console reports coverage per sitemap. If your product sitemap shows 40% indexed while pages show 98%, you have just localised the problem.

How to find and submit yours

Find, verify, submit
1Open /sitemap.xml2Check robots.txt3Submit in Search Console4Watch coverage
  1. Find it: visit /sitemap.xml or /sitemap_index.xml. If neither loads, check robots.txt for a Sitemap: line.
  2. Verify the contents — this is the step everyone skips. Spot-check ten URLs: do they all return 200, and would you want every one indexed?
  3. Submit in Search Console → Sitemaps → enter the path → Submit. Once is enough.
  4. Add the robots.txt line so every crawler finds it, not just Google (see the robots.txt guide).
  5. Check coverage after a week in Search Console: submitted versus indexed tells you whether your URLs are being accepted.

The mistakes that waste it

  • Noindexed URLs in the sitemap — you are asking Google to crawl pages you told it to ignore. Contradictory signals; Ahrefs and Search Console both flag it.
  • Redirected or 404 URLs — stale entries from a migration, still being crawled months later.
  • Canonicalised duplicates listed as originals — see duplicate content and canonicals.
  • Missing images or video — image and video sitemaps are how that media gets discovered for their own search verticals.
  • Never updating lastmod — or worse, setting every page to today, which trains crawlers to ignore the field entirely.
  • Multiple competing sitemaps — WordPress core, an SEO plugin, and a cache plugin each generating one, all submitted, all disagreeing.

A sitemap is one of three crawl signals working together — the others are robots.txt and your internal links. Check all three at once with the free audit.

Frequently asked questions

What is an XML sitemap in SEO?
An XML sitemap is a machine-readable list of the URLs you want search engines to crawl, usually with the date each was last modified. It does not guarantee indexing — it is a discovery aid that makes sure engines know a page exists rather than relying on them finding it through links.
How do I find my XML sitemap?
Try yoursite.com/sitemap.xml or yoursite.com/sitemap_index.xml in a browser — most platforms use one of those. Your robots.txt file should also name it on a Sitemap: line, and Search Console lists any sitemaps already submitted. WordPress generates one automatically; SEO plugins replace it with a more complete version.
How do I submit an XML sitemap to Google?
In Search Console, open Sitemaps, enter the sitemap path (for example sitemap.xml), and submit. Also add a Sitemap: line to robots.txt so any crawler finds it without being told. You only submit once — Google rechecks it periodically, so there is no need to resubmit after publishing.
Does an XML sitemap help SEO?
Indirectly but genuinely. It will not make a page rank, but it ensures pages get discovered — which matters most for large sites, new sites with few backlinks, pages buried deep in the structure, and content that changes often. A clean sitemap also concentrates crawl budget on URLs that deserve it.
What should not be in a sitemap?
Anything you would not want indexed: noindexed pages, redirected URLs, 404s, canonicalised duplicates, paginated archives you do not want in the index, and admin or thank-you pages. Google treats a sitemap as a quality signal about your judgement — a sitemap full of non-indexable URLs undermines it.

See where your site stands — free

Run a free SEO audit on up to 25 pages. Executive summary, issues by category, priority pages, and a PDF report — no signup required.