What is a Sitemap?
A sitemap is a file or page that lists all the important pages on your website, helping search engines like Google discover, crawl, and index your content more efficiently. There are two main types: XML sitemaps (machine-readable files for search engines) and HTML sitemaps (human-readable pages for visitors). Think of it as a roadmap that guides search engines through your website.
XML sitemaps explained
XML sitemaps are the primary way to communicate your site structure to search engines.
What is an XML sitemap?
An XML sitemap is a structured file written in Extensible Markup Language (XML) that lists URLs from your website along with optional metadata. Search engines like Google, Bing, and Yahoo read this file to understand which pages exist on your site and how important they are relative to each other.
XML sitemap elements
<loc>The URL of the page (required)e.g., https://www.yoursite.co.uk/services/<lastmod>Date the page was last modifiede.g., 2024-01-15<changefreq>How often the page typically changese.g., monthly, weekly, daily<priority>Relative importance of the page (0.0 to 1.0)e.g., 0.8Where to place your XML sitemap
Your XML sitemap should be placed at the root of your domain, typically at yoursite.co.uk/sitemap.xml. You can also reference it in your robots.txt file by adding a line like Sitemap: https://yoursite.co.uk/sitemap.xml. This helps search engines find it automatically.
HTML sitemaps for users
HTML sitemaps help human visitors navigate your website when they cannot find what they need.
What is an HTML sitemap?
An HTML sitemap is a webpage on your site that displays a structured list of links to all your important pages. Unlike XML sitemaps, HTML sitemaps are designed for human visitors, not search engine bots.
You have likely seen these on larger websites - they are typically linked from the footer and provide a bird's-eye view of the entire site structure.
Benefits of HTML sitemaps
- Helps visitors find pages not in main navigation
- Improves accessibility for screen readers
- Provides internal links that can boost SEO
- Shows your complete site structure at a glance
- Useful backup when search functions fail
How to create a sitemap
Creating a sitemap is straightforward regardless of your technical skill level. Choose the method that best suits your website platform.
WordPress plugins
EasyYoast SEO, Rank Math, or All in One SEO automatically generate and maintain your sitemap.
Online generators
EasyTools like XML-Sitemaps.com crawl your site and generate a sitemap you can download.
Screaming Frog
IntermediateProfessional SEO tool that crawls your site and exports comprehensive sitemaps.
CMS built-in
AutomaticPlatforms like Squarespace, Wix, and Shopify create sitemaps automatically.
Submitting your sitemap to Google
Once you have created your sitemap, submit it to Google Search Console for maximum visibility.
How to submit your sitemap
Sign in to Google Search Console
Go to search.google.com/search-console and sign in with your Google account. If you have not already verified your website, you will need to do that first.
Select your property
Choose the website you want to submit a sitemap for from the property dropdown in the top left.
Navigate to Sitemaps
In the left sidebar, click on 'Sitemaps' under the 'Indexing' section.
Enter your sitemap URL
In the 'Add a new sitemap' field, enter the path to your sitemap (e.g., sitemap.xml). The full URL will be shown automatically.
Click Submit
Click the 'Submit' button. Google will fetch your sitemap and begin processing it. You can check the status in the table below.
Pro tip: Also submit your sitemap to Bing Webmaster Tools for coverage on Bing and Yahoo search results. The process is similar to Google Search Console.
Benefits of having a sitemap
A well-maintained sitemap offers several advantages for your website's visibility.
Faster indexing
New pages get discovered and indexed by Google more quickly, meaning they can appear in search results sooner.
Better crawl efficiency
Search engines can crawl your site more intelligently, prioritising important pages and conserving crawl budget.
Orphan page discovery
Pages not linked from your navigation or other pages can still be found and indexed through your sitemap.
Error identification
Google Search Console will report issues with URLs in your sitemap, helping you identify and fix problems.
Common sitemap questions
Everything you need to know about creating and maintaining sitemaps.
What is a sitemap?
A sitemap is a file or page that lists all the important pages on your website, helping search engines like Google discover, crawl, and index your content more efficiently. There are two main types: XML sitemaps (machine-readable files for search engines) and HTML sitemaps (human-readable pages for visitors). Think of a sitemap as a roadmap that guides search engines through your website, ensuring no important pages are missed.
What is the difference between an XML sitemap and an HTML sitemap?
An XML sitemap is a machine-readable file designed for search engines. It lists URLs with optional metadata like last modification date, change frequency, and priority. Search engines use this to discover and index pages efficiently. An HTML sitemap is a human-readable webpage that lists links to all important pages on your site, organised in a logical structure. HTML sitemaps help visitors navigate your website, especially if they cannot find what they are looking for through the main navigation.
Do I need a sitemap for my website?
While small websites with good internal linking may not strictly need a sitemap, having one is strongly recommended for all sites. Sitemaps are particularly important if your site has over 500 pages, contains orphan pages (pages not linked from other pages), uses lots of rich media, has a complex structure, or is new with few external backlinks. For UK small businesses, a sitemap ensures Google can find and index all your service pages and blog posts.
How do I create a sitemap for my website?
For WordPress sites, plugins like Yoast SEO or Rank Math automatically generate and update your XML sitemap. For other platforms, you can use online sitemap generators like XML-Sitemaps.com or Screaming Frog (for larger sites). Most modern website builders like Squarespace and Wix create sitemaps automatically. If you have a custom-built website, your developer can create a dynamic sitemap that updates automatically when new pages are added.
How do I submit my sitemap to Google?
To submit your sitemap to Google: 1) Sign in to Google Search Console at search.google.com/search-console. 2) Select your property (website). 3) Click on 'Sitemaps' in the left menu under 'Indexing'. 4) Enter your sitemap URL (usually yoursite.com/sitemap.xml) in the 'Add a new sitemap' field. 5) Click 'Submit'. Google will then fetch and process your sitemap, showing you the status and any errors found.
How often should I update my sitemap?
Your sitemap should update automatically whenever you add, remove, or significantly modify pages on your website. Most CMS platforms and SEO plugins handle this automatically. For manual sitemaps, update them whenever you publish new content or remove old pages. Google recommends keeping your sitemap under 50MB uncompressed and 50,000 URLs - if you exceed this, split it into multiple sitemaps with a sitemap index file.
What are common sitemap errors and how do I fix them?
Common sitemap errors include: 1) URLs returning 404 errors - remove deleted pages from your sitemap. 2) URLs blocked by robots.txt - either unblock the URLs or remove them from the sitemap. 3) URLs with redirect chains - update the sitemap to use final destination URLs. 4) Sitemap not found (404) - check the file exists and the URL is correct. 5) Invalid XML format - validate your sitemap using an XML validator. Google Search Console will show you specific errors for your sitemap.
Does a small business website need a sitemap?
Yes, even small business websites benefit from having a sitemap. While Google can often crawl small sites without one, a sitemap ensures all your important pages are discovered quickly, helps new pages get indexed faster, and provides Google with useful metadata about your content. For a UK small business, this means your service pages, contact page, and blog posts are more likely to appear in search results promptly. Creating a sitemap takes minutes and costs nothing.
Sitemaps included with every Web Cardiff website
Every website we build comes with automatically generated XML sitemaps that update whenever you add new content. No configuration required.
Our sitemap setup includes
Related glossary terms
Ready to get started?
Book a free, no-obligation discovery call. We'll discuss your goals and show you how we can help your business grow online.
No pressure, no jargon, just an honest conversation about your website.