Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Claushingebjerg 845 posts 2221 karma points
    Feb 10, 2010 @ 12:28

    Use as sitemap.xml?

    First of, Great package.

    But how du i get it to respond to the url sitemap.xml?

    If i create a page called sitemap, its url will be sitemap.aspx... To make it as valid as possible for SEO i would ike it to be sitemap.xml

  • dandrayne 1138 posts 2262 karma points
    Feb 10, 2010 @ 12:32

    Google doesnt seem to care what the extension of the file is, so I wouldn't worry about extensions here.  I have multiple sites using sitemap.aspx or similar and google happily eats up the sitemaps as expected.


  • Sebastiaan Janssen 4851 posts 14444 karma points MVP admin hq
    Feb 19, 2010 @ 18:46
    Sebastiaan Janssen

    Late reply but yeah, just give google a link, it works just fine. I haven't looked at specific redirects or rewriting rules to support "sitemap.xml" because I haven't found any evidence that search engines look for that file specifically.

    You CAN however create an entry in your robots.txt file that points to your sitemap url, like so:



  • Kim Andersen 1447 posts 2194 karma points MVP
    Feb 19, 2010 @ 20:22
    Kim Andersen

    And don't forget to create a Google Webmaster Tools account, and send in your Sitemap to your account. In that way you'll always know if Google has any problems seeing the sitemap, or if there is any other problem with your site.

    Well, maybe you have already done this, but I would just mention it, in case you didn't :)

    Have a nice weekend.

    /Kim A

  • Jason Prothero 414 posts 1223 karma points c-trib
    Apr 30, 2010 @ 01:15
    Jason Prothero

    Simple add arewrite rule to the UrlRewriting.config file:

    <add name="sitemapxml"
                        ignoreCase="true" />


    You may also need to add the xml verb to be parsed in your IIS:

    (taken from

    (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\\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

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jun 11, 2010 @ 00:15
    Ove Andersen

    There is a guide on how to get a xml extension on your sitemap.aspx on my blog here:

    My sitemap generator and this one works in the same way it seems. :)

Please Sign in or register to post replies

Write your reply to: