I recently upgraded a site from 4.5.2 to 4.7.1 and moved it to a new server. Prior to the upgrade URLs without .aspx would still work. So, for instance, http://www.mysite.com/products would resolve to http://www.mysite.com/products.aspx. I did not have to make any configuration changes for this to work. I have several other Umbraco sites where this works out of the box. However, since the upgrade, this is no longer working on the new server and http://www.mysite.com/products is giving me a 404 error.
umbracoUseDirectoryURLs is false on all of these sites.
I suspect this is an II6 configuration issue, but I cannot seem to figure out what that is. What is it in IIS 6 or ASP.Net 4.0 that makes this work?
URL without .aspx throws 404 error
I recently upgraded a site from 4.5.2 to 4.7.1 and moved it to a new server. Prior to the upgrade URLs without .aspx would still work. So, for instance, http://www.mysite.com/products would resolve to http://www.mysite.com/products.aspx. I did not have to make any configuration changes for this to work. I have several other Umbraco sites where this works out of the box. However, since the upgrade, this is no longer working on the new server and http://www.mysite.com/products is giving me a 404 error.
umbracoUseDirectoryURLs is false on all of these sites.
I suspect this is an II6 configuration issue, but I cannot seem to figure out what that is. What is it in IIS 6 or ASP.Net 4.0 that makes this work?
Shouldn't umbracoUseDirectoryURLs be true if you want the websites to work without .aspx?
I think you need to add a wildcard in IIS.
Request path:
*
Executable:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
Name:
*
Than it might work.
Jeroen
is working on a reply...