Copied to clipboard

Flag this post as spam?

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


  • Mattias 52 posts 75 karma points
    Sep 15, 2011 @ 14:48
    Mattias
    0

    Extensionless url 4.7

    Im building a site in 4.7 (latest stable) .net 4.

    I tried to configure for extensionless url's and i dont get any errors but when i browse to a page. eg: /about.aspx i get the correct page, and /about/ gets me the first page in umbraco. All pages browsed to extensionless (eg. no .aspx) gets me the startpage. I get no errors but i only get the startpage.

    Running on IIS 7.

  • Rich Green 2246 posts 4008 karma points
    Sep 15, 2011 @ 15:02
    Rich Green
    0

    Did you republish your site after making the change in web.config?

    Rich

  • Mattias 52 posts 75 karma points
    Sep 15, 2011 @ 15:55
    Mattias
    0

    I have republished entire site, published all nodes manually many times. Hacked web.config, restarted website in iis.
    No changes what so ever.

  • Rich Green 2246 posts 4008 karma points
    Sep 15, 2011 @ 16:00
    Rich Green
    0

    hmm.

    What did you do to configure the extensionless url's, should just be one change in the web.config file for 4.7 in II7.

    Rich

  • Mattias 52 posts 75 karma points
    Sep 15, 2011 @ 16:07
    Mattias
    0

    Have just set the "umbracoUseDirectoryUrls" to true, and then by some searching i set the rewrite module's preCondition to "".

    But neither has done anything, i have directory urls set to false now but can still browse without .aspx without errors (maye should be so).

  • Rich Green 2246 posts 4008 karma points
    Sep 15, 2011 @ 16:11
    Rich Green
    0

    I'm pretty sure you shouldn't have to touch any rewrite conditions at all or IIS, unless something changed from 7 to 7.5

    What mode is your Application Pool set to?

    Rich

  • Mattias 52 posts 75 karma points
    Sep 15, 2011 @ 16:23
    Mattias
    0

    I'm running the pool on .net 4 and integreated pipeline. Had the same problem before setting the preCondition too.

  • Rich Green 2246 posts 4008 karma points
    Sep 15, 2011 @ 16:29
    Rich Green
    0

    Hey.

    I'm out of ideas, what OS is the site running on?

    Rich

     

  • Mattias 52 posts 75 karma points
    Sep 16, 2011 @ 08:58
    Mattias
    0

    Im running a Windows 7.

    Im not getting any errors just that the page is always the startpage if directory urls is used.

  • Rich Green 2246 posts 4008 karma points
    Sep 16, 2011 @ 09:02
    Rich Green
    0

    Hey,

    Sorry to hear you're having trouble.

    Prehaps it's time for a fresh Umbraco install.

    I run Windows 7 and all if I

    install Umbraco from Web Platform installer,

    install a starter kit,

    set umbracoUseDirectoryUrls to true

    There's *nothing* else I have to do to get it working, which means either there's something strange with the site you're working on, or there's something up with your IIS settings.

    Either way a clean Umbraco install might give you some more insight?

    Rich 

Please Sign in or register to post replies

Write your reply to:

Draft