Author: , CTO at Seonate

Updated:

In short

A sitemap (sitemap.xml) is a file listing the addresses of your site, prepared for search engines. It helps search engines find all your pages, including new ones.

You may also meet the name XML sitemap or sitemap.xml.

In the Seonate panel: Sitemap

What a sitemap looks like

It is a file, usually at /sitemap.xml, that lists the pages of a site. It often holds the date each one last changed. Bots read it, people do not.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://yoursite.com/services</loc>
    <lastmod>2026-11-29</lastmod>
  </url>
</urlset>

Most systems for editing websites create the sitemap automatically and keep it up to date.

ExampleThe sitemap check in the Seonate panel with the number of addresses and the date of the last change
The “Technical health” view in the Seonate panel. The check of whether the sitemap works and is listed in robots.txt.

When you need a sitemap

It is always worth having, but it helps most on large sites, in online stores and on new sites that few links lead to yet. With a sitemap search engines learn about new pages sooner.

A sitemap does not guarantee that a search engine will visit and index every address.1 It is a hint for a search engine, not an instruction.

What a sitemap should contain

Only addresses that should appear in search results. These are working pages without redirects, not set to noindex, whose canonical URL points to themselves. It is worth adding the sitemap's address to the robots.txt file and submitting it in Google Search Console.

What to put in a sitemap and what to leave out
AddressShould it be in the sitemap
A working page that should be in the resultsYes
An address with a redirectNo
A page set to noindexNo
A page whose canonical URL points to another pageNo. Keep the address it points to
Pagination pages (page 2, 3…)You can add them, but usually there is no need. A bot reaches them through links from the first page
An old address that no longer existsNo
An http address when the site runs on httpsNo

How to check and submit your sitemap

Type your site's address into the browser with /sitemap.xml at the end. In WordPress the sitemap may also be at /wp-sitemap.xml, or at /sitemap_index.xml once an SEO plugin is installed.

  1. Open the “Sitemaps” report in Search Console.
  2. Paste the sitemap's address and click “Submit”.
  3. You will then see the sitemap's status in the same report.

A sitemap for search engines is not the same as a “Sitemap” page with a list of links for people. This entry is about the XML file.

Frequently asked questions

Does a small site need a sitemap?

Google says a small site whose pages are linked to each other can do without one. A sitemap does no harm, though, and most website systems create one on their own.

Do priority and changefreq matter?

Google ignores the priority and changefreq values. It uses the last modification date (lastmod) if it is reliable, meaning it matches real changes on the page.

In the page code

The format is described by the shared Sitemaps protocol, which search engines use. One file holds up to 50,000 addresses and can be at most 50 MB. Larger sites split the sitemap into several files and join them with an index file.

The Sitemaps protocol (sitemaps.org)

From our practice

In sitemaps we most often find addresses that should not be there. Pages set to noindex, old addresses that no longer exist, or http addresses when the site runs on https. Pagination pages show up there too. That is not an error, but it usually does little, because a bot finds them through links anyway. Often there is no sitemap at all, it is not submitted in Search Console or it is missing from robots.txt. We also see sitemaps generated once at launch and never refreshed, especially in custom-built solutions.

Jerzy KoziełCEO at Seonate

Sources

  1. Google: sitemaps overview
The first plan for your site

See what's
worth improving.

Enter your site's address and get an action plan. 14-day money-back guarantee.