Copied to clipboard

Flag this post as spam?

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


  • Janet Kirklen 102 posts 212 karma points
    Apr 11, 2012 @ 22:26
    Janet Kirklen
    0

    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?

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Apr 12, 2012 @ 10:14
    Jeroen Breuer
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies