Copied to clipboard

Flag this post as spam?

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


  • umbracocool 108 posts 197 karma points
    Feb 04, 2012 @ 14:48
    umbracocool
    0

    Friendly url set to accept trailing slash.

    Hello friends. Thank you very much to the community around umbraco.

    Well I active the paragraph <add activated key="umbracoUseDirectoryUrls" value="true" />, but there is a small niggle, for example

    This works very well:

    myweb.uk / home

    But when I put this:

    myweb.uk / home /

    I get an error "not found".

    How do you set up a friendly url rule, to accept the slash "/" at the end?

    Thank you very much!

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Feb 04, 2012 @ 14:55
    Dirk De Grave
    0

    hi umbracocool,

    no needto set up a friendly url rule, just change this settings in /config/umbracoSettings.config

    <addTrailingSlash>true</addTrailingSlash>

    Cheers,

    /Dirk

     

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Feb 04, 2012 @ 15:58
    Jeroen Breuer
    0

    You might have to restart your website before this works, but Dirks solution is all you need to do :).

    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