Copied to clipboard

Flag this post as spam?

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


  • brucebrown 2 posts 72 karma points
    Jul 25, 2017 @ 16:50
    brucebrown
    0

    Extra slashes forward into some urls

    We are having an issue where some pages on our site have got multiple extra slashes at the end of the url.

    We are simply using the umbraco helper to get the typed content then the children of the homepage node to create our navigation, when debugging the extra slashes are appearing directly after we having referenced the typedcontent children.

    When you look at the nodes in umbraco the urls are fine and do not have the extra slashes.

    Does anyone have any ideas?

  • Alex Skrypnyk 6182 posts 24283 karma points MVP 8x admin c-trib
    Jul 26, 2017 @ 11:21
    Alex Skrypnyk
    0

    Hi Bruce

    Welcome to our forum!

    You can disable adding trailing slash in UmbracoSettings.config

    <addTrailingSlash>false</addTrailingSlash>
    

    Can you show how are you rendering urls?

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft