{"id":14118,"date":"2019-06-18T09:00:41","date_gmt":"2019-06-18T06:00:41","guid":{"rendered":"https:\/\/www.reliablesoft.net\/?p=14118"},"modified":"2021-06-27T12:36:28","modified_gmt":"2021-06-27T09:36:28","slug":"submit-sitemap-to-google","status":"publish","type":"post","link":"https:\/\/www.reliablesoft.net\/submit-sitemap-to-google\/","title":{"rendered":"How to Submit Sitemap to Google (3 Methods)"},"content":{"rendered":"
A sitemap is a file (usually in XML format), that contains a list of all your website\u2019s pages you want Google to know about. It should be located in the root folder of your website and be accessible to search engine crawlers.<\/p>\n
In this post, you will learn the 3 different methods you can use to submit a sitemap to Google.<\/p>\n
This is the most popular and recommended method.<\/p>\n
Open a new browser window and type the sitemap URL. Usually it has the following format:<\/p>\n
If everything is ok, you will see something like this:<\/p>\n If you have not already done this, you need to create an account and register your website with Google<\/a><\/strong>. If you already have an account, move on to step 3.<\/p>\n If everything is ok you will be promoted with the \u201cSitemap submitted successfully\u201d message.<\/p>\n That\u2019s all you have to do to let Google know about your sitemap. Google will monitor the sitemap file for changes and add new pages in their index.<\/p>\n The robots.txt is a text file<\/a><\/strong> that resides in the root folder of your website and gives instructions to search engines as to which files (or parts) of a site they can crawl and index.<\/p>\n One of the elements you can add to your robots is the \u2018sitemap\u2019. You can add this anywhere you want in the file and it has the following format:<\/p>\n Here is an example of how a robots.txt looks with the sitemap element.<\/p>\n When search engines (not just Google) read your robots.txt, they will also crawl and index your sitemap.<\/p>\n This is the least popular method you can use but it\u2019s another option you have to make your sitemap available to Google.<\/p>\n You can use the ping command <\/em>programmatically using the following format:<\/p>\n For example:<\/p>\n You can also do it through a browser window by pasting the URL. Once submitted you will get a \u2018sitemap notification received\u2019.<\/p>\n If for some reason, you want to remove a sitemap from Google:<\/p>\n Here are some of the popular questions\u2019 users ask about sitemaps.<\/p>\n Do I need to submit a sitemap to Google?<\/strong><\/p>\n \u00a0<\/strong>Yes. Although Google does a very good job in discovering new websites or updates to existing content, you can make their life easier and speed up the discovery process by submitting a sitemap using one of the three methods described above.<\/p>\n Does Yoast submit a sitemap to Google?<\/strong><\/p>\n No. Yoast is generating the sitemap for your website and keeps it up-to date but it does not automatically submit the sitemap to Google.<\/p>\n What to include in my sitemap?<\/strong><\/p>\n You should include only the pages of your website that you want to be part of the Google index and appear in Google search results.<\/p>\n Pages with duplicate or thin content<\/a><\/strong> should not be part of your XML sitemap.<\/p>\nhttps:\/\/example.com\/sitemap.xml<\/code> or
https:\/\/example.com\/sitemap_index.xml<\/code><\/p>\n
Step 2: Register your website with the Google Search Console<\/h3>\n
Step 3: Submit your Sitemap<\/h3>\n
\n
Submit a sitemap using the robots.txt file<\/h2>\n
Sitemap: 'path to your sitemap file'.<\/code><\/p>\n
User-agent: *
\nAllow: \/
\nSitemap: https:\/\/example.com\/sitemap.xml
\n<\/code><\/p>\nSubmit a sitemap using command line or programmatically<\/h2>\n
http:\/\/www.google.com\/ping?sitemap='path to sitemap file'<\/code><\/p>\n
http:\/\/www.google.com\/ping?sitemap=https:\/\/example.com\/sitemap.xml<\/code><\/p>\n
How to remove a sitemap for Google<\/h2>\n
\n
Submitting a Sitemap – FAQ<\/h2>\n