Once you've created a Sitemap in an accepted format, you can submit it to Google using Google Webmaster Tools. This enables Google to provide you with useful status and statistical information. You can also specify the location of your Sitemap in your robots.txt file.
Before you begin, make sure you have the following sites added and verified in your Webmaster Tools account :
- The site on which the Sitemap is located.
- The site(s) whose URLs are referenced in the Sitemap.
- Upload your Sitemap (or mRSS feed) to your site.
- On the Webmaster Tools home page, click the site you want.
- On the left-hand menu, click Optimization, and then click Sitemaps.
- Click the Add/Test Sitemap button.
- In the text box, complete the path to your Sitemap (for example, if your Sitemap is at http://www.example.com/sitemap.xml, type sitemap.xml).
- Click Submit Sitemap.
You can tell Google and other search engines about your Sitemap by adding the following line to your robots.txt file (updating the sample URL with the complete path to your own Sitemap):
This directive is independent of the user-agent line, so it doesn't matter where it appears in your file. If you're using a Sitemap index file, you can include just the location of that file—you don't to list every individual Sitemap.
When you make changes to your Sitemap, you can resubmit it using your Google Webmaster Tools account or an HTTP request
Using Webmaster Tools:
- On the Webmaster Tools Home page, click the site you want.
- Under Optimization, click Sitemaps.
- Select the Sitemap(s) you want to resubmit, and then click the Resubmit Sitemap button.
Using an HTTP request
- Issue your request to the following URL: www.google.com/webmasters/tools/ping?sitemap=sitemap_url For example, if your Sitemap is located at http://www.example.com/sitemap.gz,your URL will become : www.google.com/webmasters/tools/ping?sitemap=http://www.example.co/sitemap.gz
- URL encode everything after the /ping?sitemap : www.google.com/webmasters/tool/ping?sitemap=http%3A%2F%2Fwww.yoursite.com%2Fsitemap.gz
- Issue the HTTP request using wget, curl, or another mechanism of your choosing.
A successful request will return an HTTP 200 response code; if you receive a different response, you should resubmit your request. The HTTP 200 response code only indicates that Google has received your Sitemap, not that the Sitemap itself or the URLs contained in it were valid. To obtain status information about your Sitemap, resubmit it using Webmaster Tools account. We recommend that you resubmit a Sitemap no more than once per hour.
Note: If you are providing a Sitemap index file, you only need to issue a single HTTP request that includes the location of the Sitemap index file; you don't need to issue individual requests for each Sitemap listed in the index.
Source : google