Press enter to see results or esc to cancel.

How to submit your sitemap to Google

Submit your sitemap to Google because ‘SEO reasons’ – they say. But what does that even mean and how do you actually do it?

Before we start, let’s just be clear on what some of the above words mean:

Sitemap – in this case we are referring to a sitemap.xml file (not Visual sitemaps or HTML sitemaps). An XML sitemap is basically a list of all the URLs (pages) in your website and is normally found at yourwebsite.com/sitemap.xml. A sitemap.xml in it’s raw form looks something like this:

submit sitemap to google - xml example

SEO – stands for ‘Search Engine Optimisation’, and is all about getting your pages to appear when people type your target keywords into a search engine like Google.


Overview

  1. Why Submit a Sitemap to Google
  2. How Search Engines Work – Explain it Like I’m Five
  3. How to Submit Your Sitemap to Google – Step by Step

Why Submit a Sitemap to Google

If Google doesn’t know about your pages, it can’t add them to it’s list.

By providing Google the link to your sitemap.xml file, you’re saying ‘here’s all my pages you should know about’! If you don’t tell Google about your pages, then you are just waiting for their crawler to find your pages (and hoping that they do!).

In short, submit your sitemap.xml URL to Google to:

  • Get pages indexed now instead of later. Remember, ‘later’ means whenever the crawlers manage to find your pages on their own (if they find them at all).
  • In your Google Search Console account you can get performance information and see errors on indexed pages, which will include ALL your pages if you submit your sitemap.xml.
  • Get new pages indexed faster when you launch new content.

How Search Engines Work – Explain it Like I’m Five

sitemap indexing explained - supermarket analogy

Mr. G works at the supermarket. He has a very special job. Every night he carefully ‘crawls’ through every product and updates it on his list. This list he calls his ‘Index’.

You visit the supermarket, and Mr G. is waiting at the entrance to help you find what you need.

You ask him for ‘spicy noodle sauce’, and he looks at his ‘Index’ list. He gives you the following options:

1. Chinese spicy noodle sauce – aisle 3, in the International > Sauce section.
2. Tomato-based pasta sauces – aisle 5, Pastas & Sauces
3. Spicy tobasco sauce – aisle 1, Cooking Oils & Condiments

This is how search engines work. Their ‘crawlers’ roam the internet, jumping between links, and update their ‘Index’. Then when you ask for something, they give you results based on their Index.

This is why it is important for you make sure your pages are indexed!

How to Submit Your Sitemap to Google – Step by Step

1. First you need to add the sitemap.xml file to your website so that it appears in the root folder next to your index page. i.e. yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml

You might already have one! Here’s how to find your sitemap if it already exists.

Modern web platforms like Squarespace and Shopify will auto-generate your sitemap.xml file for you. On WordPress you can use the Yoast SEO plugin to generate one.

Otherwise, search ‘crawl to create XML sitemap’ to find a tool that will crawl your website and give you a sitemap.xml file back.

2. Optional: You can test if your sitemap file is valid with a tool such as https://www.xml-sitemaps.com/validate-xml-sitemap.html

3. Then you need to set up a Google Search Console account (previously Google Webmaster) (https://search.google.com/search-console/about – sign in with your Google account)

4. Click the ‘+ Add Property’ (a.k.a. website). If you already have websites, then you’ll find this in the bottom of the website dropdown list in the top left corner.

Then type in the URL to your website e.g. https://yourwebsite.com

google search console add property

5. After adding your website property, you’ll need to verify that you own it. There are many ways to do this  but if you can, add the meta tag to your websites header that shows your unique google-verification-code.

e.g. <meta name=”google-site-verification” content=”your verification string“>

6. After verifying you own the website, back in Google Search Console enter into that website property.

On the left navigation head to Index > Sitemaps

sitemap menu

7. In the ‘Add a new sitemap’ box, type in the URL to your sitemap and click Submit.

add sitemap in google search console

 

That’s it. You’re done. Google will send you emails with any crawl errors, and you can check your Google Search Console regularly for performance information.