Copied to clipboard

Flag this post as spam?

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


  • Mike 16 posts 32 karma points
    Feb 23, 2010 @ 16:55
    Mike
    0

    NiceUrl withouth .apx

    Hi,

    whenever I use NiceUrl(..) it will create me URLs ending with .ASPX.

    e.g. http://localhost/blog.aspx.

    When I change the URL manually in the browser to http://localhost/blog/ this will work (because of the default URL rewriting).

     

    Now what I want is NiceUrl returning http://localhost/blog/ for the content node instead of the .aspx ending one..

    Can this somehow be configured?

    br,
    mike.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Feb 23, 2010 @ 17:01
  • dandrayne 1138 posts 2262 karma points
    Feb 23, 2010 @ 17:02
    dandrayne
    0

    In umbracosettings.config, change

    <umbracoUseDirectoryUrls>false</umbracoUseDirectoryUrls>

    To be true, then republish the entire site.  You may need to set up wildcard mapping in IIS too though?

    Dan

  • jaygreasley 416 posts 403 karma points
    Feb 23, 2010 @ 17:52
    jaygreasley
    0

    You probably will need to set up the wildcard mapping in IIS as well.

    This is a very nice way (imho) of doing it

    http://www.farmcode.org/post/2009/12/08/Wildcard-mapping-in-IIS-7-classic-pipeline-3d-webconfig!.aspx

  • 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