Copied to clipboard

Flag this post as spam?

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

  • Dale McCutcheon 32 posts 135 karma points
    Feb 20, 2017 @ 16:14
    Dale McCutcheon

    Extra forward slashes onto some urls

    Hi All,

    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?

    Thanks Dale

  • Greg Fyans 140 posts 342 karma points
    Mar 03, 2017 @ 19:03
    Greg Fyans

    If you have any calls to UmbracoContext.Current.ContentCache.GetByRoute, replace them. Try using the UmbracoHelper instead.

    I had this on one of my projects and after much head scratching, it turned out that was the cause.


  • MrFlo 159 posts 403 karma points
    Feb 24, 2021 @ 13:43

    This strange behavior is still there in Umbraco 7.15+. Why is it doing that ? Very confusing indeed

Please Sign in or register to post replies

Write your reply to: