6 votes

Sitemap.xml

Sitemap.xml - XML Sitemap Generator (Umbraco v4)

Outputs an xml file (e.g. http://www.yourdomain.com/sitemap.xml)
 - Outputs an xml sitemap that can be submitted to Google and other search engines.
 - Compliant with the sitemap XML specification on http://www.sitemaps.org/protocol.php


This package outputs the Url and the modified date

Adding Update Frequency and/or Priority (Optional)
Add the update frequency and importance by adding these properties to your document types:
seSitemapChangeFreq
seSitemapPriority

Valid values for change frequency: (always, hourly, daily, weekly, monthly, yearly, never)
Valid values for priority: (0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0)

Configuration  (IIS6)
(a)
. Add the following httpHandler to your web.config httpHandlers section
- <configuration>
-- <system.web>
--- <httpHandlers>

<add verb="*" path="sitemap.xml"
type="MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler, MA.Umbraco.SiteMapGenerator" />

(b). In the IIS site for your site, do the following steps:
  1. Open Properties
  2. In the Virtual Directory or web site equivalent tab, select Configuration at the bottom of the panel.
  3. In the Mappings tab, click Add
  4. Add the following into the Executable field "c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll"
  5. Add ".xml" into the extension field
  6. Choose "All Verbs"
  7. Check "Script Engine" and uncheck "Check that file exists"
  8. Save by clicking OK

(c). Test the sitemap e.g. http://www.yourdomain.com/sitemap.xml

 

Configuration  (IIS7)

website > Handler Mappings > Add managed handler
 
Request path: *.xml
Type: MA.Umbraco.Web.SiteMapGenerator.SiteMapHttpHandler
Name: sitemap.xml


Archived files

Documentation

Source code

Package owner

Masood Afzal

Masood Afzal

Masood has 522 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Masood Afzal
  • Created: 30/08/2009
  • Current version 1.0
  • License MIT
  • Downloads on Our: 3.5K