XML Sitemap Module for Drupal

tutuploadsStep_1._Download_and_Install_8ffde830c7708aabb658cee2136bf645.png

The XML sitemap module creates a sitemap for your Drupal site. This sitemap is not for visitors but for search engines. It conforms to the sitemaps.org specification and helps search engines to more intelligently crawl your website and keep their results up to date. The sitemap created by the module can be automatically submitted to Ask, Google, Bing (formerly Windows Live Search), and Yahoo! search engines. The module also comes with several other modules that can add sitemap links for content, menu items, taxonomy terms, and user profiles.

Step 1. Download and Install

tutuploadsStep_1._Download_and_Install_8ffde830c7708aabb658cee2136bf645.png

Download the extension from http://drupal.org/project/xmlsitemap

Go to Modules, Browse for the file, click Install, then follow the prompts to activate the module.

Step 2. Enable the module

tutuploadsStep_2._Enable_the_module.png

Go back to the Modules page and find the newly installed modules and place check marks next to all of them and click Save configuration.

Step 3. Run reports and look for errors or problems

tutuploadsStep_3._Run_reports_and_look_for_errors_or_problems..png
  1. Click Reports and run a Status Report
  2. Run Cron
  3. Click View user profile permission

You will get two messages, one telling you to run cron, which you can run by clicking the blue link in the message. After you have run cron, you will still be on the reports page. You can scroll down and click the blue link to View user profile permissions. In order to list user profile links in the sitemap, the anonymous user must have the View user profiles permission.

Step 4. Access the module configuration

tutuploadsStep_4._Access_the_module_parameters.png

Configure each of the modules that have “Configure” links. The first three all need configuration

  1. XML sitemap
  2. XML sitemap custom
  3. XML sitemap engines

Step 5. Make sure the Anonymous User can view user profiles

tutuploadsStep_5._Make_sure_the_Anonymous_User_can_View_user_profil.png

Check the box for View user profiles.

Scroll to the bottom and click Save permissions.

Step 6. Configure the modules

tutuploadsStep_6._Configure_the_modules.png

Click Modules.

Click Configure next to XML sitemap.

On the XML sitemap page there are tabs for configuring custom links and search engines. You will not need to return to this page to configure the them. You can do everything from one page.

Alternative access: Go to Configuration > XML sitemap. There is always more than one way to find something in Drupal.

Step 7. Go through the tabs and configure the obvious settings

tutuploadsStep_7._Go_through_the_tabs_and_configure_the_obvious_set.png

Click each tab and adjust or add as needed.

By default XML Sitemap only adds your homepage to the sitemap. You will have to add additional content types manually. You do this by editing the content type. To add existing types you will need to go to the content types and add each on.

Step 8. Add other content types to your XML sitemap

tutuploadsStep_8_4b0a094d1f6aaf4d1a4f47c92524969f.png

Go to Structure > Content types.

Step 9. Choose a content type and edit it

tutuploadsStep_9._Choose_a_content_type_and_edit_it..png

Click edit. You will need to repeat this step for each content type you want to add to the site map.

Step 10. Decide to include or exclude the content type

tutuploadsStep_10._Decide_to_include_or_exclude_the_content_type_fr.png

Go to the Edit tab on content type page, scroll to the bottom and click on XML sitemap.

You will see the Inclusion setting. If you choose “Included” all the items of this type you add will be automatically added to the site map.

Be sure to save your changes at the bottom of the page.

Author

0 0 votes
Article Rating
Subscribe
Notify of
guest

7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Phinkalily
Phinkalily
12 years ago

great work , thanks

Metin Görel
Metin Görel
11 years ago

Tahank you very match

Sujay Uvari
Sujay Uvari
11 years ago

Wowww really great. Thank you very much.

Alan
Alan
11 years ago

Thanks, very clear instructions. Much appreciated.

Matt
Matt
10 years ago

Thanks that was a big help. I spent hours trying to figure out how to make it work.

seojeek
seojeek
9 years ago

Is there a way to sort the sitemap by date?

ryan258
9 years ago

Very helpful, thank you!

7
0
Would love your thoughts, please comment.x
()
x