How to Update Sitemap automatic to Google, Yahoo, Bing and other leading Search Engines

by Jaydip on September 7, 2009

I hope you all are using sitemap.xml for your blog / site if you are not you must start using it because It’s a way that you can point your content to Different Search Engines. Search Engine can sniff your site content via you sitemap (Not all the time.) If you are not having sitemap.xml for your site the you probably get code from Google Code Sitemap Generator.

No we are assuming you are having your own sitemap.xml and you want to update instantly to all major Search Engine on a single click or complete atomized then what will you do ? Just follow the bellow mention steps. Here I am assuming that you have basic knowledge of Programming, Server Handling, FTP etc. I will advice you not to execute / edit wrong file if you are not having proper knowledge of Code or Server Admin. You just do it manually copy the bellow mention code (scripts) edit WWW.YOUR-SITE.COM/SITEMAP.XML to your sitemap URL then paste in browser and hit Enter Key.

Automatic Ping to Google

Microsoft Bing Automatic Ping

Automatic Ping Yahoo


ping morever

This will be manual thing but if you want to make and forgot it thing then what to do? Very Simple You have to  follow following steps. (Make sure you have knowledge of Server Admin)

If you are Using Linux Server

  1. Download ping.php file from bellow mention link
  2. Edit the file with your sitemap URL.
  3. Upload that file in your sites root folder.
  4. Now log on to your Control Panel.
  5. Find an Option for Create Cron Job
  6. Define Cron Job as per your site requirement, Daily, Weekly, Every 1 Hour etc.
  7. Select ping.php as schedule file.

If you are using Windows Server then check this:

You can do this in task scheduler of windows server. Task can be created manually in the task scheduler or with @ commands and can be designated to run under a user account with privileges. There is also a software (free) called nnCron which uses the same kind of syntax that of Linux on Windows.

This is shared by Vishal Vasu, a Windows Server Management Expert. Thx Vishal.

Congregates ! You are done with auto execution of your Sitemap file.

Download Ping.php

Disclaimer : This just a tutorial you can use it by your own Risk. We will not be liable for any damage or any mishappening.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Article by

Jaydip Parikh is an Internet Marketing Consultant who shares his Learning Experience with the World by his Internet Marketing Blog. He write about Internet Marketing, Blogging, Social Media, etc and some time Personal Stuff too. Apart from this he is Versatile Personality having various skills. Click here to know more about Jaydip or Follow him on Twitter @jaydipparikh & Connect on Google+

Leave a Comment

6 + two =

CommentLuv badge

{ 20 comments… read them below or add one }

Vishal Vasu September 8, 2009 at 9:46 pm

hi jaydip,

How does this work with wordpress? Is this really required or can we use the plug-in’s that are available to generate the sitemap.xml files?

BTW: thanks for quoting me

- Vishal
.-= Vishal Vasu´s last blog ..Finding FSMO Roles in Active Directory using NTDSUtil =-.


Jaydip September 8, 2009 at 11:12 pm


Well in case of Wordpress I will say you can use the readymade plugin check this


Vkid September 9, 2009 at 3:18 pm

How to Build Video SiteMap ?
Can you Give Me Example.
And I want one more help. How to get thumbnail images from Youtube like the Following site

Thanks in Advanced


Hesham September 9, 2009 at 4:12 pm

Very useful post, thanks for visting my blog Jaydip, your blog is added to the list of 100 blogs using CommentLuv, great plugin!
.-= Hesham´s last blog ..What is the Feature of Famous Bloggers Club FBC100 =-.


migraine solution September 19, 2009 at 6:33 am

Nice content indeed! i will visit as often as i can.



BlogPing September 19, 2009 at 7:38 pm

Hey yo, I’m really happy for ya and am gonna let you finish but you didn’t mention PingNinja, a new blog ping utility thats one of the fastest ways to get indexed by Google (for free)?


bing vs google September 20, 2009 at 11:13 am

Its really useful. i am really happy.


zen September 25, 2009 at 5:30 pm

Excellent article about updating site map. First i would like to say thanks becoz it would be much helpful for newbies like me.


Jade October 21, 2009 at 8:15 pm

Bing does give search results much like Google but i would have to say that Google still gives more relevant search results


Jimmy Sy November 2, 2009 at 5:08 pm

i have been using the BING search engine for a couple of weeks. it seems to be as good as Google but for some reason i would still want to stick with Google search engine


Shahab khan November 15, 2009 at 10:51 am

I am using the wordpress plugin for sitemap, but its not  updating my sitemap automatically.


Agenzia Web Marketing November 18, 2009 at 12:05 pm

Wow, I never knew that updating sitemap  That’s pretty interesting…


Cathy Vega December 8, 2009 at 3:57 pm

i am using both Bing and Google and i think both search engines give relevant search results. i would still prefer Google though, because it gives a little bit more relevant search results than Bing.


geek blogger December 13, 2009 at 10:56 am

This is something great, i dont know about this tips eventhough becoming a blogger, well explained as other posts.
.-= geek blogger´s last blog ..Custom Meta Tags for Each Blogger Posts – Blogger SEO Tips =-.


Webamster support April 29, 2010 at 12:58 pm

Thanks for smart way from cron i was looking for it.


Eduardo May 13, 2010 at 6:18 am

Please can you show me what is the better Cron job configuration?


Paulene Clingan October 29, 2010 at 5:51 pm

At long last, after struggling to find appears like forever you’ve provided me the important information which i needed!


garden shed April 6, 2011 at 9:25 am

Many thanks for a good time visiting your web blog. It’s really a pleasure knowing an internet site like that rich in great information.


sekhon May 28, 2011 at 10:11 am

Really Nice Post. Helped me alot. i want to ask one thing. how frequently do we have to update the sitemap. do we have to do it after every post…?


Tushar Tajane March 1, 2012 at 7:06 pm

Sir… amazing to find your post through Google :)
Thanks a lot for the post & the file. I need this for non-wordpress site…

under the cron setting, do we need to write something like this?

option1] * 1 * * * wget -O – -q -t 1 “http://mysite/sitempa.gz”
option 2] * 1 * * * “http://mysite/sitempa.gz”

which one? i am very new to crons :P 

Thanks in advance 


Previous post:

Next post: