On this page
Definition
An XML sitemap is a structured file that lists important website URLs so search engines can discover, crawl and understand them more efficiently. It usually lives at a location such as sitemap.xml and can include details such as when a page was last updated.
An XML sitemap does not guarantee that every page will be indexed or ranked, but it helps search engines find the pages you want them to consider.
Key Takeaways
- An XML sitemap helps search engines find important URLs, especially on large, new, recently changed or complex websites.
- A sitemap supports technical SEO, but it does not replace strong site architecture, internal linking, useful content or crawlable pages.
- A sitemap should be reviewed during website launches, migrations, major content changes and technical SEO audits.
Quick Explanation
What an XML Sitemap Does
How It Works
How Search Engines Use an XML Sitemap
A sitemap does not force Google or Bing to index a page. It gives search engines useful information so they can crawl your website more intelligently.
-
The Sitemap Lists Important URLs
The XML file contains the pages you want search engines to know about. This may include service pages, product pages, articles, location pages and other indexable content.
-
Search Engines Fetch the Sitemap
Search engines may find the sitemap through your robots.txt file, through a direct submission in tools such as Google Search Console, or by discovering it during a crawl.
-
Crawlers Decide What to Visit and Index
The search engine uses the sitemap as a discovery signal, then decides which URLs to crawl, index and rank based on quality, technical accessibility, relevance and other SEO factors.
SEO Context
Why XML Sitemaps Matter for Technical SEO
A Sitemap Is Not a Ranking Guarantee
Simple XML Sitemap Example
A real sitemap may contain many URLs, but the basic structure is usually simple. Each URL is wrapped in a url element, with the page address listed inside a loc element.
<?xml version="1.0" encoding="UTF-8"?>
https://example.com.au/services/
2026-01-10
This simplified example shows one URL and its last modified date.
XML Sitemap Terms to Know
These terms often appear when reviewing sitemap files, Google Search Console reports or technical SEO audits.
- URL
- The full address of a page, image, file or resource on a website. An XML sitemap should list the canonical URLs you want search engines to consider.
- Crawling
- The process search engines use to visit pages and collect information. A sitemap helps crawlers discover URLs, but it does not guarantee that every URL will be visited immediately.
- Indexing
- The process of storing a page in a search engine database. A page must usually be indexed before it can appear in search results.
XML Sitemap vs Internal Links
An XML sitemap and internal links both help search engines discover pages, but they play different roles. A healthy website should use both.
| SEO Element | XML Sitemap | Internal Links |
|---|---|---|
| Main purpose | Provides search engines with a structured list of important URLs. | Connects pages for users and search engines within the website experience. |
| User visibility | Usually not designed for regular visitors to browse. | Visible to users through menus, content links, buttons and related sections. |
| SEO value | Supports discovery and crawl efficiency. | Supports discovery, page authority flow, user journeys and content relationships. |
Common XML Sitemap Mistakes
A sitemap is only useful when it reflects the real structure and indexable content of the website. These mistakes can create confusion for search engines and website owners.
Including pages that should not be indexed
Do this instead
Keep noindex pages, test pages, duplicate URLs, internal search results and private pages out of the sitemap unless there is a clear technical reason to include them.
Leaving old URLs in the sitemap after a migration
Do this instead
Update the sitemap after URL changes, then check that old URLs redirect correctly and new URLs return valid 200 status responses.
Relying on the sitemap instead of fixing poor structure
Do this instead
Use the sitemap as a support tool, not a replacement for clear navigation, internal linking, crawlable pages and well-planned site architecture.
XML Sitemap Review Checklist
Use this checklist when launching a website, changing URLs, reviewing technical SEO or investigating indexing problems.
-
Check that important pages are included
Service pages, product pages, key landing pages and helpful articles should be included if they are intended for search indexing.
-
Remove URLs that should not appear in search results
Exclude noindex pages, staging URLs, duplicate pages, filtered URLs and low-value pages that should not be crawled as priorities.
-
Submit and monitor the sitemap
Submit the sitemap in Google Search Console where appropriate, then review errors, excluded URLs and indexing feedback over time.
When to Review It
When an XML Sitemap Should Be Checked
Our Approach
How We Approach XML Sitemaps
XML Sitemap FAQs
These short answers address common questions about sitemap files, SEO and indexing.
Does every website need an XML sitemap?
Where is an XML sitemap usually located?
Can an XML sitemap fix indexing problems?
Need Help Reviewing Your Website’s Technical SEO?
If your website has indexing issues, sitemap errors or unclear site structure, we can review the technical foundations and recommend practical next steps. We focus on realistic improvements, not ranking guarantees.