Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 936 posts 2571 karma points
    Feb 10, 2010 @ 12:28
    Claushingebjerg
    0

    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
    dandrayne
    0

    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.

    Dan

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Feb 19, 2010 @ 18:46
    Sebastiaan Janssen
    0

    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:

    Sitemap: http://www.yourwebsite.com/mysitemap.aspx

     

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

    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 422 posts 1243 karma points c-trib
    Apr 30, 2010 @ 01:15
    Jason Prothero
    0

    Simple add arewrite rule to the UrlRewriting.config file:

    <add name="sitemapxml"
                        virtualUrl="^~/sitemap.xml"
                        rewriteUrlParameter="ExcludeFromClientQueryString"
                        destinationUrl="~/sitemapxml.aspx"
                        ignoreCase="true" />

     

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

    (taken from http://our.umbraco.org/projects/sitemapxml)

    (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

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

    There is a guide on how to get a xml extension on your sitemap.aspx on my blog here: http://www.eyecatch.no/blog/changing-file-type-extension-with-iis-7.aspx

    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:

Draft