Skip to main content

Early access: we are opening to a small group of businesses and agencies first.

AI Marketing Master

Technical SEO and website health

XML sitemaps: what they are and how to check yours

Updated 21 Oct 2026 · Written and checked by the AI Marketing Master team, Shivah Web Tech

Short answer

An XML sitemap is a file that lists the pages you want search engines to find, usually at yourdomain.com/sitemap.xml. It helps Google discover pages, especially new ones or pages with few links. A good sitemap lists only live, indexable pages that return a 200 code, uses each page's canonical address, and is submitted in Google Search Console and referenced in robots.txt.

What a sitemap does and does not do

A sitemap is a list of suggestions, not a command. It helps search engines find your pages faster and tells them which address is the main version. It does not force Google to index a page or rank it. A small site with good internal links can be found without one, but a sitemap costs nothing and helps with new pages.

What belongs in it

  • Pages you want people to find in search: home, services, products, locations, useful blog posts.
  • The final, canonical address of each page, with https and your chosen www or non-www form.
  • An accurate lastmod date when a page really changed. Google uses it when it can trust it.

What to keep out

  • Pages that redirect elsewhere.
  • Pages that return 404 or other errors.
  • Pages marked noindex or blocked in robots.txt.
  • Duplicate versions, such as filtered or sorted shop listings and tracking-tagged addresses.
  • Thank-you pages, login pages, carts and internal search results.

Size limits and sitemap index files

One sitemap file can hold up to 50,000 addresses and must be no larger than 50 MB uncompressed. Bigger sites split pages across several sitemaps and list them in a sitemap index file. Most WordPress and Shopify sites already produce an index with separate sitemaps for pages, posts and products. Google ignores the priority and changefreq tags, so do not spend time tuning them.

A five-minute check of your own sitemap

  • Open yourdomain.com/sitemap.xml in a browser. WordPress may use wp-sitemap.xml, or sitemap_index.xml if an SEO plugin makes it. It should load, not show an error.
  • Open your robots.txt and check it has a Sitemap: line pointing to the right file.
  • Click a few addresses at random. Each should open the page directly, without redirecting.
  • Look for pages you did not expect, such as test pages, tag archives or old offers.
  • Look for important pages that are missing, such as a new service page.
  • In Google Search Console, open Sitemaps, submit the file if it is not there, and read any errors.

How AI Marketing Master helps

The website audit checks that your sitemap and robots.txt exist and can be read, and reports problems in plain English as part of the same crawl that looks at titles, links and redirects. Once Google Search Console is connected you also see clicks and impressions for your pages. Submitting the sitemap itself is done inside Search Console.

What it does not do

  • The audit checks that your sitemap and robots.txt exist and are readable. It does not build or edit your sitemap.
  • Submitting a sitemap and reading its index report happen inside Google Search Console.

Questions people ask

Do I need a sitemap for a small website?

Not strictly, if every page is linked from your menu or other pages. It is still worth having because it helps new pages get found and most website builders make one for you.

How often should my sitemap update?

Whenever pages are added, removed or meaningfully changed. Most CMS platforms update it automatically.

Is an HTML sitemap the same thing?

No. An HTML sitemap is a normal page listing links for people. An XML sitemap is a file written for search engines. You can have both.

Why does Search Console say a page in my sitemap is not indexed?

Being in a sitemap does not mean Google will index the page. Check the page indexing report in Search Console for the reason, such as a duplicate, a noindex tag or low value content.

Check your sitemap and robots.txt

We only describe what the product really does today. Results depend on your business, your market and many things no tool controls.

Start with a free look at your marketing

Tell us your website, or start with social media if you do not have one yet. It takes a few minutes and you can stop any time.