How to Ping Yahoo,Bing and Google For sitemap Change via Cron Job.
Every time when your site get updated with new posts, articles, you have to inform Google, yhaoo and Bing about the new postings in our site. This can be done by pinging to there respective urls along with your sitemap file name. Lets start with One By one.
The ping url isÂ http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.yoursite.com/sitemap-file.xml,
The Ping service allows you to notify Yahoo! when your site changes. You may notify us about a single page, or a set of pages that need attention.
Sample Request URL:Â http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.yahoo.com
The Sitemap protocol includes a feature called a ping service, where you can submit an HTTP ping to a search engine to let them know what content has changed. To submit your Sitemap file through your Web browser using our Sitemap ping service, use the following URL:
- http://www.bing.com/webmaster/ping.aspx?sitemap=add your Sitemap Web address here
If ypu want to generate your sitemap youu can go to xml sitemap generator and do it .
Cron Job for Ping Sitemap
You can put the ping url in the cronjob file (crontab)calong with wget command.