On my Umbraco based website I have a link to a authentication service. This link has www in it but Umbraco strips it out. Is there a way to stop it from affecting my URL's?
It does not really matter how it is added. I tried to hardcode it (href attr) and I tried with .GetProperty("linkName").Value; or .GetPropertyValue("linkName");. Right now the fix is "http://" + "www" + ".restofurl.com/"; Even with var link = "http://www.google.nl" and ref it with @link strips the 'www'.
Could you provide a bit more information such as what version of Umbraco you are using, a few detailed examples of where and when the www is being stripped out?
I've been using Umbraco for a while now and haven't seen this behaviour before. I've used text inputs, link pickers and hard coded link values before and never see the www. get stripped off.
Have you checked that the value is stored correctly in your properties?
Umbraco stripts 'www' from my URL's
On my Umbraco based website I have a link to a authentication service. This link has www in it but Umbraco strips it out. Is there a way to stop it from affecting my URL's?
Hi Gideon
Can you provide a little more info? Then I'm sure someone can help you out! How is the link added? How is it rendered in the template?
All the best
Rune
It does not really matter how it is added. I tried to hardcode it (href attr) and I tried with
.GetProperty("linkName").Value;
or.GetPropertyValue("linkName");
. Right now the fix is"http://" + "www" + ".restofurl.com/";
Even withvar link = "http://www.google.nl"
and ref it with@link
strips the 'www'.Hi Gideon,
Could you provide a bit more information such as what version of Umbraco you are using, a few detailed examples of where and when the www is being stripped out?
I've been using Umbraco for a while now and haven't seen this behaviour before. I've used text inputs, link pickers and hard coded link values before and never see the www. get stripped off.
Have you checked that the value is stored correctly in your properties?
Thanks,
Nik
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.