Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Today I noticed that my links are cutting out the domain name. Not sure how long this has been going on, but for some reason there is an extra slash at the beginning of all Link to Document for items under Homepage (Homepage has a "/" for its link).
Googling hasn't turned up anything, and I am totally stumped. Anyone know why? I'm running 18.104.22.168.
If you try making use of Manage Hostname do you get something like
http://mywebsite/news.aspx ? or http://mywebsite//news.aspx ?
I wasn't using Manage Hostname. I added the site in Manage Hostname, but nothing changed. I wonder if this is an Umbraco issue, or possible something with IIS?
Ok, actually the Manage Hostname did work! URLs are now "http://www.site.com//pagename" instead of "//pagename" So not exactly a fix for the double slash, but it fixes the broken link issue. Thanks!
One question when you click on the url in the backend itself do you get the url in the address bar with the double slash ?
I would like to raise this issue again and want to ask if you ever tracked down the cause? I am seeing this periodically in a site running v7.5.3. The odd thing is that it doesn't affect all nodes and is rectified by a simple publish action.
It will happen again at some random point in the future as it has done previously so I need to get to the bottom of it as it breaks links on the front end of the site.
I've created an issue on the tracker for this:
I would also like to raise this, as we have this same issue on a site (v 7.5.7)
If we look in Umbraco, in the properties tab, some of the urls look akin to this:
/how-to-help/support-our-campaigns////////// <- (notice the extra slashes)
This is not always the case and sometimes there are less slashes, sometimes more.
This is a load balanced site, on Azure and wondering if that might be the cause.
Anyone who has come across this - please let us know!
That's interesting as I think I have only experienced extra leading slashes in the url rather than trailing slashes.
Facing the same issues as described by Simon. Has anyone found a solution to the above mentioned problem yet?
This issue is still ongoing - did anyone manage to make any progress on tracking down the source of the issue? It seems to be random (although I doubt in reality it is) but without being able to replicate the problem it's becoming hard to pin down.
Finally nailed this one after I discovered it was affecting yet another site.
In the UriUtility class there is a method called UriToUmbraco where if the AddTrailingSlash option is enabled in your config it will basically append a forward slash without first checking if there is already a trailing slash.
I've submitted a pull request that should correct it.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted