Google provide a URL to append your sitemap.xml URL to so you can easily “ping” them with changes you’ve made to your website.
Enter your sitemap URL into the box to generate your URL and ping Google with your XML sitemap. This will add your sitemap file to a queue to be recrawled by GoogleBot, perfect if you’ve just made changes, added pages or added internal links to your website.
After pressing ping, a new tab will open on google.com that says;
“Sitemap Notification Received”
“Your sitemap has been successfully added to our list of Sitemaps to crawl.Google.com
You’re also prompted to add your sitemap to search console.
The Sitemap Ping URL for Google
Google provide a URL for you to append your sitemap.xml URL to, which, when loaded in a browser will “ping” Google to encourage them to crawl your sitemap and your website.
The URL that google provide is;
Just append your sitemap.xml URL in place of the “FULL_URL_OF_SITEMAP” parameter string and load the URL in a browser window to ping your sitemap to Google.
Our Google ping sitemap.xml tool is simpler, just add your sitemap.xml URL there and press “Ping Sitemap”.
Where to find your Sitemap.xml URL
The best way to find your sitemap.xml file is to load the robots.txt file of your website.
Your robots.txt file will be found on yourdomain.com /robots.txt (see below)
If your sitemap.xml file is not listed there, you can try the sitemaps section of Google Search Console.
If it’s not there, try loading yourdomain /sitemap.xml
If there’s still nothing after trying these steps, then you will need to check with your development team, webmaster or SEO to get this sorted.
If you are unsure whether you have a sitemap you may want to contact an SEO consultant to help you.
How to Ping Your Sitemap to Google
Pinging a sitemap to inform them of updates or sitewide changes is easy, just paste your sitemap.xml URL above and press ping sitemap to inform Google of changes to your site.
Submitting your sitemap to search console can help Googlebot locate your sitemap easily, crawl frequently and quickly discover new URLs added to your website.
Is there an API to Ping Your Sitemap to Google?
Yes, Google provide an API to allow you to ping sitemaps easily.
Your request will be a http PUT request to googleapis.com including your site URL in the subfolders of the request URL.
You’ll need to be a authenticated, authorised webmaster to ping your sitemap URLs via the request method.
Google provide a framework and playground for you to test the Google ping sitemap API with supporting documentation.
How Long Does Google Take to Index a Sitemap?
According to Google documentation you should allow “at least a week after submitting a sitemap or sitemap index request” before you should see changes reflected in Google search results.
The best way to “see” whether Google has begun crawling your URLs after a fresh sitemap ping submission is to check your server logs. Here you should be able to identify instances of Googlebot, their crawl timestamp and the URLs they are hitting to understand how Googlebot is crawling through your website.
Add Your Sitemap.xml URL to Your robots.txt File
You should include your sitemap.xml file as part of your robots.txt file.
The robots.txt file is where search engines go for instructions on crawling your website, here they discover URLs they aren’t allowed to access so it makes sense to include your sitemap.xml file here too.