How to notify Google, Yahoo and MSN about your new sitemap.xml?

The other day I needed to build a script that will notify Google, Yahoo(seemingly those 2 will soon become 1) and MSN. With Google you surely can do it manually using their Webmaster Tools, but that’s no use to your server-side script. Short research brought up the sort-of ‘sitemap pinging’ service they have, so basically to notify Google about your new and shiny sitemap you just need to send request(basically open up) this URL:

http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.yoursite.com/sitemap.xml

Where, obviously, www.yoursite.com is url of your site, and sitemap.xml is the filename of your sitemap(you can also use Gzipped sitemap). If you don’t know how to do this, read up about cURL

Yahoo! has similar service:

http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.yoursite.com/sitemap.xml

The thing I like about Yahoo though is their API… I wonder why the heck Google has closed theirs, it was such a nifty thing…

MSN is screwy as usual:

http://api.moreover.com/ping?u=http://www.yoursite.com/sitemap.xml

I don’t think other folks(like Ask.com) play any important role, but just in case the following list of ping urls for sitemap.xml submission should be handy if you’re scripting something like sitemap generating module:

Ask.com

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

If you know ping urls for other search engines and willing to share, I’d be vastly grateful :)

One thought on “How to notify Google, Yahoo and MSN about your new sitemap.xml?

  1. Exactly what is the subject of life – to acquire rich? All of those fellows on the market getting rich may be dancing round the real subject of life.
    Available world, most people are paid in two coins: cash and experience. Take the experience first; the money arrive later.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>