Understanding XML Sitemap

A sitemap is essentially a road map of your website, but whereas an HTML sitemap is designed for the user to navigate your site, the XML sitemap is aimed at search engines. But why is this important, and how do you create and submit one?

An XML sitemap is a complete list of all your URLs, with the ability for the webmaster to include additional information, such as hierarchy of importance, when the URL was added when it was last updated, and how often it changes.

What is their function?

Your sitemap is created as an, which is submitted to search engines. This tells them which pages to crawl. The XML sitemap is an XML file inclusion protocol and works in conjunction with a robots.txt file, which is an exclusion protocol. The robots.txt file is a list of URLs you don’t want to be crawled, such as your privacy policy page, payment pages, etc.

Why are they important?

An XML sitemap makes it much easier for search engines to locate and rank your website’s pages. It does this by understanding context and relevancy, looking at URL architecture and hierarchy to determine where best to rank them. It makes Google’s job easier, ensuring better SEO performance.

How do you create and submit an XML sitemap?

There are several different ways to create these, depending on your site. For static websites with no CMS or admin panel, you may need your developer to manually create this file and upload it to your site via FTP access, using a tool like FileZilla.  For sites with a CMS (content management system) or are built on platforms like WordPress, Joomla and Drupal, you can download an add-on like Yoast (for WordPress) which will create an XML sitemap for you. You can then submit this using the Google Search Console.

Google Search Console also allows you to create an XML sitemap. Simply select Sitemaps > Dashboard > Add/Test Sitemap and then submit the file.

How often do I need to submit an XML sitemap?

Once you have generated and submitted your sitemap to search engines like Google, you shouldn’t have to do this again. However, if you regularly add new content and make changes to your URLs in terms of content or structure, you can force a re-crawl intermittently using the Google Search Console. This speeds up re-indexing and minimises any drops in rankings.

Need some advice on your SEO performance? Whitefish Marketing is an established Kent-based digital marketing agency with expertise in helping businesses to grow their online presence, providing a range of online marketing services from SEO, and PPC to website development and social media management. Give our friendly team a call on 01303 720 288.

Avatar for james.morton
About james.morton

James is our full-stack developer, in charge of all web-related development and design duties. Highly versed in a broad range of programming languages including PHP, SQL, JavaScript and Ruby, James oversees the entire development phase from Server Setup to Go-Live.