Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Apr 04, 2016 @ 10:24
    Damon
    0

    Question on how Umbraco routing works - /pagename.aspx goes to /pagename

    Hi,

    if you have a page that exists called "pagename"

    and you type in the url /pagename.aspx

    Then it redirects to /pagename

    Why is this? What is special about .aspx. Is this an Umbraco thing or something to do with the way IIS is set up?

    Thanks a lot for any info!

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Apr 04, 2016 @ 10:45
    Dennis Aaen
    0

    Hi Damon,

    Try to see this documentation in the webconfig. https://our.umbraco.org/documentation/Reference/Config/webconfig/

    Search for the umbracoUseDirectoryUrls, if the value is set to true, then I will strips the .aspx from the urls.

    Hope this helps,

    /Dennis

  • Damon 217 posts 288 karma points
    Apr 06, 2016 @ 12:15
    Damon
    0

    Thank you Dennis,

    that helps a lot!

Please Sign in or register to post replies

Write your reply to:

Draft