Submit Sitemap Dynamically In Search Engines

March 10, 2010 at 7:20 pm Leave a comment

You know how to submit sitemap of your website in google. Most of the time you do this with your Google Webmaster Tool. You create a google account and use this service. Every time when your sitemap updates you have to resubmit the sitemap manually.
Google provides a very easy method to make your task easy. You just submit your sitemap at once (First time) in Google webmaster , and for resubmitting you can invoke the following URL

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

You can invoke this URL via any PHP program whenever your sitemap updates.

This method is very useful when you deal with dynamic sites where sitemap is automatically generated. Most of the CMS (like drupal) uses above method for resubmitting the sitemap.

The URL shown above is a standard form of sitemap submission in search engines and most of the popular search engines follow this. For example if you have to submit your sitemap in BING just invoke the following URL
http://www.bing.com/webmaster/ping.aspx?sitemap=http://example.com/sitemap.xml

Similarly for ASK.com

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

And for yahoo

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

Entry filed under: Uncategorized. Tags: , , , .

Database engines in MySQL. MyISAM and InnoDB Post your tweet from twitter api and php

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed



Follow

Get every new post delivered to your Inbox.