Ping Search Engines for Your Sitemap

Informing search engines that your site content has been updated is an important task. Google downloads your site-map automatically every few days, or even few hours If you are running a big website. However, Webmasters like to ping Search Engines automatically after every update on the website. Here are few links for several search engines that you may want to ping.

1. Google

http://www.google.com/webmasters/tools/ping?sitemap=http://site.com/sitemap.xml

2. Yahoo

http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=http://site.com/sitemap.xml

3. Bing

http://www.bing.com/webmaster/ping.aspx?siteMap=http://site.com/sitemap.xml

4. Ask

http://submissions.ask.com/ping?sitemap=http://site.com/sitemap.xml

If you are using WordPress, All-In-One-Seo does this every time you publish a new post. I have made a function if you don’t want to make the ping request manually.

File Name: pinger.php

<?php

function pingSE($url){
@file_get_contents("http://www.google.com/webmasters/tools/ping?sitemap=" . $url);
@file_get_contents("http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&amp;url=" . $url);
@file_get_contents("http://www.bing.com/webmaster/ping.aspx?siteMap=" . $url);
@file_get_contents("http://submissions.ask.com/ping?sitemap=" . $url);
}

// using the function..

pingSE("http://site.com/sitemap.xml");

?>

 

Leave a Reply

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