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 4541 posts 6021 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 4908 posts 12265 karma points MVP 5x 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

Please Sign in or register to post replies

Write your reply to:

Draft