Learning never exhausts the mind
Home >  Web Design > SEO > What are XML sitemaps?

Published 1st July 2013 by

How using the XML Sitemap protocol can help search engines index your site and provide regular updates and relevant content to visitors.
Search Engine Optimisation Series
  1. SEO - Search Engine Optimization
  2. A Guide to the Robots.txt Exclusion Protocol
  3. What are XML sitemaps?
  4. Using Google Webmaster Tools
  5. Getting Started with Google Analytics
  6. Getting Started Earning Money with Adsense
  7. Website Loading Times Are Vital - How to Improve Yours
  8. Improve Website Speed by Enabling Compression
  9. Google Trends Keyword Comparison Tool
  10. 8 Excellent (and Free!) Search Engine Optimization Websites

The XML Sitemap is a file placed in the root of your website which consists of XML tags. These tags tell search engines about the pages on your website. The sitemap.xml should list all the pages you wish a search engine to list in their index.

Sample XML Sitemap Contents

The following example shows a Sitemap that contains just one URL and uses all optional tags.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

This breaks down as follows:

  • The urlset is the header which defines the namespace and schema for the sitemap. Don't change this.
  • Each page on your website should have a corresponding section.
  • loc is the full URL to the page
  • lastmod is the date the page was last updated, in the yyyy-mm-dd format.
  • changefreq gives the search engines an indication of how often the page is updated. Valid values are always, hourly, daily, weekly, monthly, yearly and never.
  • priority> is a relative value assigned to how important you think that page is compared with the other pages on your site. Valid values range from 0.0 (not important) to 1.0 (the most important page on your site).

Sitemap Generation Tools

There are lots of tools for generating XML sitemaps depending on the platform you use.

WordPress Plugins for XML Sitemaps

There are several WordPress plugins which you can install to automatically create XML sitemaps for your posts and pages.

Yoast SEO

Yoast SEO WordPress Plugin

Yoast SEO WordPress Plugin

WordPress out of the box is already technically quite a good platform for SEO. This was true when Joost wrote his original WordPress SEO article in 2008 (updated every few months) and it's still true today, but that doesn't mean you can't improve it further! This plugin is written from the ground up by Joost de Valk and his team at Yoast to improve your site's SEO on all needed aspects. While this Yoast SEO plugin goes the extra mile to take care of all the technical optimisation, more on that below, it first and foremost helps you write better content. Yoast SEO forces you to choose a focus keyword when you're writing your articles and then makes sure you use that focus keyword everywhere.

XML Sitemap Generator

Google Sitemap Generator

Google Sitemap Generator

This plugin will generate a special XML sitemap which will help search engines like Google, Bing, Yahoo and Ask.com to better index your blog. With such a sitemap, it's much easier for the crawlers to see the complete structure of your site and retrieve it more efficiently. The plugin supports all kinds of WordPress generated pages as well as custom URLs. Additionally, it notifies all major search engines about the new content every time you create a post.

Online Sitemap Generators

XML Sitemaps Generator allows you to create your Google sitemap online. It will crawl your site and provide a downloadable XML Sitemap for you to upload to your site.

Screaming Frog XML Sitemap Generator Many SEO agencies and consultants will be familiar with Screaming Frog's spider tool, which allows you to crawl up to 500 URLs of an existing website and capture key data for SEO and identify any errors. After crawling a website, Screaming Frog offers an option to create an XML sitemap and submit it to Google.

Tutorial Series

This post is part of the series Search Engine Optimisation. Use the links below to advance to the next tutorial in the couse, or go back and see the previous in the tutorial series.

Leave a Reply

Fields marked with * are mandatory.

We respect your privacy, and will not make your email public. Hashed email address may be checked against Gravatar service to retrieve avatars. This site uses Akismet to reduce spam. Learn how your comment data is processed.