I've got the CWS running on my pc with WebMatrix and the sitemap is working just fine. But I've got the same version on the server and when I try to go to /sitemap.xml there is nothing. (The page cannot be found)
Anything I need to chance in the urlrewrite or in the config?
I've tried to move the site on a local IIS7 environment where I can get the sitemap and the rss feeds correctly without any futher configuration, but when I upload it on my official server, I get 404 error for both pages...
So, from my little experience, be sure to have your sites AppPool in "Integrated Mode", in order to force IIS to handle the sitemap.xml file with ASP.NET. This is essential in order to get the UrlRewriting module get started and properly rewrite your request. If you amend the integrated mode setting, IIS will try to handle the xml file's request as a static file, which is of course not present, so you get the 404 error.
As a last note, try to disable any caching, if there is one, for your macro...
With these changes the sitemap.xml works fine for me.
Sitemap only working on my localhost
Hey,
I've got the CWS running on my pc with WebMatrix and the sitemap is working just fine. But I've got the same version on the server and when I try to go to /sitemap.xml there is nothing. (The page cannot be found)
Anything I need to chance in the urlrewrite or in the config?
Hi all,
same thing here!
I've tried to move the site on a local IIS7 environment where I can get the sitemap and the rss feeds correctly without any futher configuration, but when I upload it on my official server, I get 404 error for both pages...
Hi again,
I finally managed to get this working!
So, from my little experience, be sure to have your sites AppPool in "Integrated Mode", in order to force IIS to handle the sitemap.xml file with ASP.NET. This is essential in order to get the UrlRewriting module get started and properly rewrite your request. If you amend the integrated mode setting, IIS will try to handle the xml file's request as a static file, which is of course not present, so you get the 404 error.
As a last note, try to disable any caching, if there is one, for your macro...
With these changes the sitemap.xml works fine for me.
is working on a reply...