How to submit sitemap in Google 2021

3 Methods to submit sitemap in Google

#1 method How to submit a sitemap: – Basically sitemap is a file in XML format and that file contains a list of all your website’s pages and posts. We want Google to know about this file. It is located in the root file folder on our website and this XML file is accessible to Google crawlers.

In this article, you will learn the best #3 different methods you can submit a sitemap to Google.

  1. Using the Google Search Console
  2. Using robots.txt
  3. Using the command line

Submit sitemap in Google using the Google Search Console

This method is the most popular and we recommend it.

1st method: – Your sitemap will be in the root folder and also publicly accessible. You can check your website sitemap with the below URL.

Simply open a new tab and copy this below URL

https://example.com/sitemap.xml 

                          and

https://example.com/sitemap_index.xml

 

After checking the sitemap you will see something like this

                        “Sitemap Image “

2nd step: – How to Register your website with The Google Search console

Firstly, you need to create an account and register your website with Google. And if you have already registered an account move on to the next step

 

Step 3:-submit sitemap in Google

  1. Simply Click SITEMAPS 
  2. Add your sitemap name with the extension and submit
  3. Finally, click the submit button

 

After submitting the sitemap you will receive this message in pop up

How to submit a sitemap using the robots.txt file

Robots.txt is a text file that resides in the root folder in your website 

 

 This file gives instructions to Google search engines as to which files of a site they can crawl and index.

 

Google search engines read your robots.txt file; they will also crawl and index your sitemap.

 

User-agent: *

Allow: /

Sitemap: https://example.com/sitemap.xml

 

How to submit a sitemap using the command line

 

It is another option you have, to make your sitemap available to Google. For this, you can use command programmatically using the following format

http://www.google.com/ping?sitemap=’path to sitemap file’

 

For example:

http://www.google.com/ping?sitemap=https://example.com/sitemap.xml

 

Once submitted you will get a ‘sitemap notification received’.

How can remove sitemap in Google

 

If some of the reason you want to remove a sitemap from Google

  1. Simply  login to Google Search Console
  2. Click SITEMAPS
  3. Click on the sitemap file you want to remove 
  4. Click the 3 dots and select REMOVE SITEMAP

 

FAQ

 

Some popular questions’ users ask

 

Do I need to submit a sitemap to Google?

When you create a website, the most common issue is how to list the site in Google. Simply generate a Sitemap file for your website and submit it to Google Search Console.

 

Does Yoast submit a sitemap to Google?

No Yoast is only generating the sitemap for your site. It does not automatically submit the sitemap to Google.

Leave a Reply

Your email address will not be published. Required fields are marked *