Copied to clipboard

Flag this post as spam?

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


  • Anthony Candaele 1197 posts 2049 karma points
    Apr 27, 2011 @ 20:13
    Anthony Candaele
    0

    url's have a trailing /

    Hi, since I enabled 'umbracoUseDirectoryUrls' in the webconfig, all my pages have a trailing '/' in the url, like:

    www.flexisle.com/home/
    or www.flexisle.com/home/methodology/

    even to go to the Umbraco Backoffice I need the typ an url like this:

    www.flexisle.com/umbraco/

    Did anyonelse encounter this problem? How can I loose this trailing '/' so that my url's look like this:

    www.flexisle.com/home
    www.flexisle.com/home/methodology
    www.flexisle.com/umbraco

    Thanks for your help,

    Anthony Candaele
    Belgium

  • Anthony Candaele 1197 posts 2049 karma points
    Apr 27, 2011 @ 21:06
    Anthony Candaele
    1

    I found the solution:

    In umbracoSettings.config there is a setting:

    <addTrailingSlash>true</addTrailingSlash>

    I set this to false, and then republished the website, and now the trailing '/' is gone.

    Only the url to the Umbraco Backoffice still has a  trailing '/' in its url.

     

    Anthony

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 27, 2011 @ 23:44
    Jan Skovgaard
    1

    Hi Anthony

    Is the last thing you mention a problem or just something you conclude? - It's good to see you managed to find your way around the primary issue.

    Let us know if this last part is a problem for you.

    /Jan

  • Anthony Candaele 1197 posts 2049 karma points
    May 08, 2011 @ 10:22
    Anthony Candaele
    0

    Hi Jan,

    The trailing '/' to go to the Umbraco Backoffice is not really a problem, I just wonder why this is the case as all my other url's now are without a trailing '/'

    greetings,

    Anthony

  • Anthony Candaele 1197 posts 2049 karma points
    May 23, 2011 @ 21:37
    Anthony Candaele
    1

    Hi Jan,

    I just found the configuration setting to loose the trailing slash (/) after /umbraco

    You just need to add ~/Umbraco to the "umbracoReservedUrls" setting in web.config

    I found the solution here: http://our.umbraco.org/wiki/install-and-setup/setting-up-umbraco-for-friendly-urls

     

    Greetings,

    Anthony

Please Sign in or register to post replies

Write your reply to:

Draft