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.
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:
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 :)
(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
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
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
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:
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
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
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. :)
is working on a reply...