Submitting your site map to search engines

Last modified: July 31, 2008 - 01:53

XML Sitemap can notify search engines when your site map changes.

General settings

Go to http://www.example.com/?q=admin/settings/xmlsitemap and choose the Search engines tab.

Submit site map when updated
Notify search engines every time your site is updated. You should check this box only if it’s very important that search engines be notified of changes immediately or you cannot schedule notifications with cron.
Submit site map on cron run
This is the preferred way to notify search engines of updates. XML Sitemap will wait until the next cron run to notify search engines of updates.
Log access
Record each time the site map is retrieved.

If you have enabled access logging, you can see the access records at http://www.example.com/?q=admin/logs/watchdog.

The full log message will provide details of when, by whom, and from where your site map was downloaded.

Enabling search engines

XML Sitemap can submit updates to any search engine. The included XML Sitemap: Engines module supports four search engines: Google, Yahoo!, Ask, and Windows Live.

  1. Go to http://www.example.com/?q=admin/build/modules and make sure XML Sitemap: Engines is enabled.

  1. Go to http://www.example.com/?q=admin/settings/xmlsitemap and choose the Search engines tab.

  1. Each enabled search engine will have a section on the Search engines tab. To submit the site map to this search engine, click its check box.
  2. Check the search engine’s site for the correct submission URL, or use the default.

    Users who have not enabled clean URLs have reported receiving an “Unsupported file format” error from Google. The solution is to replace ?q=sitemap.xml at the end of the submission URL with index.php?q=sitemap.xml. Submission URLs for each search engine can be configured at http://www.example.com/?q=admin/settings/xmlsitemap/engines.

  3. Some search engines have other settings available for registered users.

    Google

    Yahoo!

    Windows Live

  4. You can view the status of each attempt to submit your site map at http://www.example.com/?q=admin/logs/watchdog. (For Drupal 6.x it's http://www.example.com/?q=/admin/reports/dblog.)

This is an excellent post!

wikidkaka - March 18, 2009 - 06:12

This is an excellent post! But the xmlsitemap module is not yet ported to D6 and I can use it :(

there is a v6 version its

cytefx - April 18, 2009 - 13:06

there is a v6 version its still in development but it is functioning I have been using it since november 2008 on D6

I noticed that in the posted

falieson - April 18, 2009 - 17:26

I noticed that in the posted images (like for google's search engine submission url you replaced [sitemap] with your own text. Are we supposed to do this or will the default of "http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]" work?

Florian Mettetal
www.ImmortalEvents.com

sitemap=[sitemap]

rodenp - April 30, 2009 - 07:50

In response to the question regarding the sitemap placeholder, sitemap=[sitemap]. The XML Sitemap module will take care of filling this out for you.

regards

Peter

Sitemap not found by Google

sglaw - May 10, 2009 - 12:03

HI I have tried this on 2 Drupal 6 sites but on both occassions Google has not been able to find a sitemap. If I navigate to the url I also do not see a sitemap. Have clean urls enabled. Not sure where to start looking next. Any sggestions?

If you are logged in then you

cytefx - August 12, 2009 - 21:38

If you are logged in then you will not see the sitemap, its only for anonymous users, for example this is the url I am using http://johnjones.org/sitemap.xml and if i am logged in this returns page not found, but not logged in and I get the correct result, google has also indexed this sitemap with no issues.

Yahoo! Submisstion Failed

Milkrow - November 2, 2009 - 17:12

I'm trying to submit to Yahoo, but it continues to fail. I was able to achieve verification at Yahoo! Site Explorer through my Yahoo Account, but when I use SE tab in the module, the attempt fails. I wonder if it is because the URLs for submission have changed?

I entered my filename and key to no avail. I checked the report and it says:

Error occurred submitting sitemap to Yahoo!: 403.

But I've navigated to that page and its there! ???

Is this a bug? I didn't want to start putting a bug report in unless I could verify that I'm not overlooking something simple. Sorry if this is a PIA comment.

Error occurred submitting sitemap to Yahoo!: 403.

brulain - November 28, 2009 - 09:45

I have often the same issue with Yahoo, and all seems to be OK.
I tried a lot of settings, unsuccessfully.
Any idea ?
Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.