Hello all,
I have just moved my site from one server to another and have discovered that on the new server the sitemap URL is returning a 404 not found page.
The only real difference between the original and new server is that I was using the Helicon Rewrite Lite isapi plugin, on the new server I am using the IIS7 rewrite module.
Via ACP I can generate the sitemap files without any issues and the GZ files are successfully written to "/vbseo_sitemap/data/".
So I assume this is an issue with my web config file, so here it is:
Code:<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <urlCompression doDynamicCompression="true" /> <rewrite> <rules> <rule name="Redirect to WWW" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTP_HOST}" pattern="^mysite.com$" /> </conditions> <action type="Redirect" url="http://www.mysite.com/{R:0}" redirectType="Permanent" /> </rule> <rule name="wordpress" patternSyntax="Wildcard"> <match url="*" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> <rule name="Imported Rule 1" enabled="true" stopProcessing="true"> <match url="^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" ignoreCase="false" /> <action type="Rewrite" url="vbseo_sitemap/vbseo_getsitemap.php?sitemap={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 2" enabled="true" stopProcessing="true"> <match url="^((archive/)?(.*\.php(/.*)?))$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" negate="true" pattern="(admincp/|modcp/|cron|vbseo_sitemap)" ignoreCase="false" /> </conditions> <action type="Rewrite" url="vbseo.php" appendQueryString="true" /> </rule> <rule name="Rewrite All" enabled="true" stopProcessing="true"> <match url="^.*$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_FILENAME}" negate="true" pattern="/(admincp|modcp|clientscript|cpstyles|images)/" ignoreCase="false" /> </conditions> <action type="Rewrite" url="vbseo.php" appendQueryString="true" /> </rule> </rules> </rewrite> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" subStatusCode="-1" prefixLanguageFilePath="" path="/404.php" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration>


LinkBack URL
About LinkBacks





Reply With Quote