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.
- Using the Google Search Console
- Using robots.txt
- 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
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
- Simply Click SITEMAPS
- Add your sitemap name with the extension and submit
- 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.
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’
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
- Simply login to Google Search Console
- Click SITEMAPS
- Click on the sitemap file you want to remove
- Click the 3 dots and select REMOVE SITEMAP
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.