A website sitemap is a structured list of the pages on a website. It helps visitors or search engines understand what content exists and how the site is organised.
Most business owners asking about sitemaps mean an XML sitemap. This is a file created for search engines such as Google. It lists important website URLs so crawlers can discover them more efficiently. A sitemap can support crawling and indexing, but it does not guarantee that every listed page will rank.
What is a sitemap?
A sitemap is a map of website content. It can show the main pages, blog posts, products, categories, images or videos that belong to a site.
An XML sitemap often sits at an address such as:
https://example.co.uk/sitemap_index.xml
The exact address depends on the website platform or SEO plugin being used.
A good XML sitemap should include pages that you want search engines to find and index. It should normally exclude duplicate, private, redirected, broken or deliberately noindexed pages.
A sitemap is not a replacement for navigation or internal links. Google should still be able to move through your website by following normal links between pages.
What are the two types of sitemap?
The two common types are HTML sitemaps and XML sitemaps.
HTML sitemap
An HTML sitemap is a normal webpage that lists useful links for human visitors. It can help people find content on a large or complicated site.
Small brochure websites rarely need a separate HTML sitemap if the navigation is already clear. Larger websites, directories and ecommerce stores may find one useful.
XML sitemap
An XML sitemap is primarily written for search-engine crawlers. It uses a structured format rather than a normal visual page.
It can include information such as the page URL and the date the content was last modified. Search engines decide how much of this information to use.
Some websites have several XML sitemaps grouped inside a sitemap index. For example, WordPress may create separate files for pages, posts, categories and products.
Why does Google care about your sitemap?
Google discovers webpages in several ways. It follows links from pages it already knows, processes submitted sitemaps and revisits sites over time.
A sitemap gives Google a clean list of URLs you consider important. This is particularly useful when:
- The website is new and has few external links.
- The website has many pages.
- Some pages are not linked prominently.
- Content changes frequently.
- The website contains a large archive.
- The internal linking is not yet strong.
Submitting a sitemap also gives you useful feedback in Google Search Console. You can see whether Google has fetched the file and whether it has identified any errors.
A sitemap does not tell Google that a page deserves a high ranking. It only helps with discovery. The page still needs to be useful, technically accessible and relevant to the search query.
How does a sitemap help your SEO?
A sitemap helps SEO by making important URLs easier to discover and monitor. It can reduce the chance of a valuable page being missed, especially on a large or recently launched site.
It also helps you keep the site tidy. Reviewing the sitemap can reveal:
- Old pages that should have been removed
- Test pages that should not be public
- Duplicate category archives
- Redirected URLs
- Pages accidentally set to noindex
- Content that is missing from the sitemap
The sitemap should reflect your preferred indexable pages. It should not become a dumping ground for every URL the website has ever created.
Remember that indexing and ranking are different. A page can be included in the sitemap but remain unindexed. A page can also be indexed and rank poorly. The sitemap supports the process; it does not replace content quality, internal linking, authority or technical SEO.
Does every website need a sitemap?
Most business websites should have an XML sitemap because it is simple to create and useful to maintain. There is little reason not to provide one.
A tiny website with excellent internal linking may still be discovered without a sitemap. That does not make the sitemap pointless. It gives you a defined list of important URLs and a straightforward way to submit them through Search Console.
You may need extra attention if the site has:
- Thousands of products or posts
- Multiple languages
- News, video or image content
- Filters that generate many URL variations
- Separate mobile or application areas
- Poor legacy site structure
In those cases, sitemap management becomes part of wider technical SEO rather than a one-click task.
How do you create a sitemap in WordPress?
Modern WordPress installations generate a basic XML sitemap automatically, commonly at /wp-sitemap.xml.
SEO plugins such as Yoast SEO, Rank Math and All in One SEO can create more configurable sitemap indexes. The usual process is:
- Confirm that the sitemap feature is enabled.
- Open the sitemap URL and check that it loads.
- Review which content types are included.
- Remove low-value or private content from indexation where appropriate.
- Add the sitemap URL to Google Search Console.
- Check the submission status and any reported errors.
Do not install several SEO plugins to create several competing sitemaps. Use one properly configured setup.
You can also reference the sitemap in the site's robots.txt file. This gives crawlers another way to locate it.
What should you check after submitting a sitemap?
Check that the sitemap uses the correct secure domain, includes canonical URLs and updates when new content is published.
Then review Search Console over time. A large gap between the number of submitted URLs and indexed URLs can indicate a problem, although not every excluded URL is an error. Google may exclude duplicates, redirects, low-value pages or URLs it has not chosen to index.
The correct response is not to repeatedly resubmit the sitemap. Investigate the affected pages and fix the underlying issue.
A technical SEO review can identify sitemap, indexation and crawling problems across the whole site. Read about our SEO service or contact Elendil Studio for a practical review.