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.
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
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.
Greg.
This strange behavior is still there in Umbraco 7.15+. Why is it doing that ? Very confusing indeed
is working on a reply...