I'm having a slight problem. All of the links created by umbraco have full absolute URLS in them. This didn't seem to be true before. I did add a hostname to the root in the past, but have since removed it.
Also, <useDomainPrefixes> is currently set to false.
Any ideas on how I can have it using relative URLS for all Umbraco Media and Content.
No, it doesn't show in the properties tab, but I think I may not be explaining this correctly.
As an example I have a static link in a template that looks like this <a href="#comment">
However, when I hover over the link it looks like this http://colleagues/#comment, which sends it to the home page instead of to the anchor on the page I'm on.
Well, I don't know what to tell you. Umbraco should not do anything with the links in your templates.. Is there a runat="server" block around the part of your html where this links is?
Absolute URLs with the domain names problem
I'm having a slight problem. All of the links created by umbraco have full absolute URLS in them. This didn't seem to be true before. I did add a hostname to the root in the past, but have since removed it.
Also, <useDomainPrefixes> is currently set to false.
Any ideas on how I can have it using relative URLS for all Umbraco Media and Content.
Thank you,
Tim
If you publish one of the nodes, does the properties tab still show the domain name? They might just be cached.
No, it doesn't show in the properties tab, but I think I may not be explaining this correctly.
As an example I have a static link in a template that looks like this <a href="#comment">
However, when I hover over the link it looks like this http://colleagues/#comment, which sends it to the home page instead of to the anchor on the page I'm on.
Can you paste the code that you have in your content, is it pure HTML or in xslt?
Rich
It's just pure HTML inside the XSLT, exactly as I have show it above.
Well, I don't know what to tell you. Umbraco should not do anything with the links in your templates.. Is there a runat="server" block around the part of your html where this links is?
Wow, I feel stupid on this one. The problem was not Umbraco, but a BASE tag my designer had in the HTML. Removed it and the problem is now gone.
is working on a reply...