What Is a Sitemap?
A sitemap is a file or page that lists the pages on a website, laid out so that search engines and visitors can understand how the site is structured. Think of it as a table of contents for your entire website. Rather than relying on someone (or something) clicking through menus and links to discover every page, a sitemap sets it all out in one place.
There are two main types of website sitemap, and they serve different audiences:
- An XML sitemap is written for search engines, helping them crawl and index your pages efficiently.
- An HTML sitemap is written for people, giving visitors a straightforward, clickable overview of your site.
Most established websites use both, and we will look at each in turn below.
What Is an XML Sitemap?
An XML sitemap is a structured file, usually found at an address like yourwebsite.co.uk/sitemap.xml, that lists every important URL on your site along with a few helpful details, such as when each page was last updated. It is written in XML (Extensible Markup Language), a format designed to be read by machines rather than humans.
The purpose of an XML sitemap in SEO is to make life easier for search engine crawlers. Google, Bing and other search engines use automated bots to discover and understand web pages, and while they are generally good at finding content by following links, a sitemap gives them a direct, reliable map of your site rather than leaving discovery to chance. This matters most for larger websites, newer websites without many external links pointing to them yet, or sites where some pages are not well connected internally.
Most modern content management systems generate an XML sitemap automatically. WordPress, for example, has built in sitemap functionality, and popular SEO plugins such as Yoast SEO and Rank Math offer more control over what is included and excluded.
What Is an HTML Sitemap?
Where an XML sitemap is built for search engines, an HTML sitemap is built for people. It is a normal web page, often linked from the footer, that lists out the main sections and pages of a website in a simple, readable format.
HTML sitemaps have become less common as website navigation and search functionality have improved, but they still have their place. They are particularly useful on larger sites where visitors might struggle to find a specific page through the main menu alone, and they can support accessibility by giving users (and assistive technology) a straightforward, text based way to see everything a site offers.
Why Does Your Website Need a Sitemap?
The purpose of a sitemap comes down to two things: helping search engines find and understand your content, and helping visitors navigate your site with ease.
Without a sitemap, search engines have to rely entirely on following links from page to page to discover your content. That usually works reasonably well, but it leaves gaps. Pages that are not linked to prominently, pages buried several clicks deep, or brand new pages that have not picked up links yet can all be slower to be discovered, or missed altogether.
A sitemap closes those gaps. It gives search engines a complete, direct list of the pages you consider important, along with useful signals like when they were last updated. For business owners, that translates into new pages and updates being found and indexed more reliably, which matters if you are publishing fresh content, launching new service pages, or running a website with more than a handful of pages.
What Is a Sitemap in SEO?
In SEO terms, a sitemap is a discovery and crawl efficiency tool rather than a direct ranking factor. Having a sitemap will not, on its own, push your website up the search results. What it does is make sure search engines can find, crawl and index your pages in the first place, which is the essential first step before any of your other SEO work (content, keywords, backlinks and technical optimisation) can have an effect.
This is particularly valuable for:
- Large websites with hundreds or thousands of pages, where crawling every page through links alone would take far longer.
- New websites that have not yet built up a strong network of backlinks to help search engines find them.
- Websites with complex navigation, where some pages sit several clicks away from the homepage.
- Sites that update frequently, such as those with a blog or regularly changing service pages, where a sitemap helps flag new and updated content.
Put simply, a sitemap is used in SEO to remove friction from the discovery process, so search engines can spend their time understanding and ranking your content instead of hunting for it.

What Should a Sitemap Include?
A well built XML sitemap should be focused and accurate rather than exhaustive for the sake of it. As a general guide, a good sitemap includes:
- The final, canonical URL for every page you want indexed, using the correct version (with or without “www”, using https, and so on).
- A last modified date for each URL, so search engines can see at a glance which pages have recently changed.
- Only pages you actually want indexed. Pages blocked by robots.txt, set to noindex, duplicate pages, or thank you and internal admin pages should generally be left out.
- A sensible structure, split into multiple sitemap files linked from a sitemap index if your site has a very large number of pages, since individual sitemap files have size and URL limits.
To put that into practice, here is what a complete XML sitemap might look like for a small, five page business website:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://yourwebsite.co.uk/</loc>
<lastmod>2026-08-14</lastmod>
</url>
<url>
<loc>https://yourwebsite.co.uk/about/</loc>
<lastmod>2026-08-14</lastmod>
</url>
<url>
<loc>https://yourwebsite.co.uk/services/</loc>
<lastmod>2026-08-14</lastmod>
</url>
<url>
<loc>https://yourwebsite.co.uk/case-studies/</loc>
<lastmod>2026-08-14</lastmod>
</url>
<url>
<loc>https://yourwebsite.co.uk/contact/</loc>
<lastmod>2026-08-14</lastmod>
</url>
</urlset>Five entries, one for each page, make up the whole sitemap. Larger websites follow exactly the same principle, there are just a great many more of them.
If you open your own sitemap and it looks a bit busier than this, that is completely normal. The example above shows the bare minimum the sitemap protocol requires, but most WordPress sites generate their sitemap through a plugin such as Yoast SEO or All in One SEO, and these add several optional extras on top: a generator comment naming the plugin, a stylesheet reference so the file displays neatly in a browser, full timestamps rather than just a date, a changefreq and priority value for each page (both largely ignored by Google these days, but included for compatibility), and often a list of images found on each page. None of this changes what a sitemap fundamentally is, it is simply the plugin doing a bit more of the technical work for you.
What a sitemap should not include is just as important as what it should. Cluttering a sitemap with low value, duplicate or blocked pages can waste crawl budget and make it harder for search engines to prioritise your genuinely important content.
How Do You Submit a Sitemap to Google?
1
Find Your Sitemap
Most WordPress sites keep their sitemap at an address like yourwebsite.co.uk/sitemap.xml, generated automatically by WordPress or by an SEO plugin.
2
Sign In to Search Console
Log in to Google Search Console and choose the correct property for the website you want to submit.
3
Open the Sitemaps Report
Look for the Sitemaps option in the left hand menu, then select it to open the report.
4
Submit Your Address
Paste your sitemap’s web address into the box provided, then select Submit to send it to Google.
Google will then fetch the sitemap and begin working through the URLs listed in it. It is also good practice to add a line referencing your sitemap’s location in your robots.txt file, so that any search engine crawling your site can find it automatically, without needing to be told directly.
One thing worth knowing: Google used to let you flag a new or updated sitemap simply by visiting a special “ping” web address, but it retired that method in 2023. Submitting through Search Console, as above, is now the correct way to do it.

Get Your Sitemap Sorted
A sitemap might be a small technical detail, but it has a real impact on how well your website is found, both by search engines and by the people you want visiting it. As part of our web design, development and SEO services, we make sure every website we build, and every site we manage, has a properly configured sitemap in place from day one, submitted to Google Search Console and kept up to date as pages change.
If you are not sure whether your website currently has a sitemap, or whether it is set up the way it should be, our team would be glad to take a look. Get in touch to find out how our web design and SEO services can help your website perform at its best, both for search engines and for the people it is built for.
