I have a site with one root node at the moment, but I've set useDomainPrefixes to true in the umbraco config file. Am I right in thinking that this should make the site append the domain for the site to beginning of all links when you call NiceUrl from the library?
I have a domain/language configured for the root of the site, but its not being added to the generated URLs, at all. Have tried touching the web.config and various other stuff, but still no joy. Running 4.5.2.
Wierdly, if I use any domain other than the actual domain that the site uses in IIS, it works (at least for the first two levels, after that it ignores the domain, that appears to be an older issue that has never been fixed). If I use the domain that IIS is using though, it just ignores the setting and renders the links without the domain.
For example, I have dev.xxx.com pointing at the site in IIS. I have dev.xxx.com as the hostname, set it to use the prefixes, nada. If I change the hostname to pie.xxx.com, or any other domain at all, it appends the prefix. Wierdness.
I need it to work on more than two levels of content, and I need it to work with the actual domain assigned to the node, even if it is the same one that IIS is using. So it looks like I might be better off coding something myself. Ah well.
I too have discovered the reason for my heartburn, my links do not work correctly below the second level. The link referenced is no longer valid. Where can I find a fix or hack or resolution?
useDomainPrefixes not working?
I have a site with one root node at the moment, but I've set useDomainPrefixes to true in the umbraco config file. Am I right in thinking that this should make the site append the domain for the site to beginning of all links when you call NiceUrl from the library?
I have a domain/language configured for the root of the site, but its not being added to the generated URLs, at all. Have tried touching the web.config and various other stuff, but still no joy. Running 4.5.2.
Anyone got any ideas what could be wrong?
Cheers,
Tim.
Wierdly, if I use any domain other than the actual domain that the site uses in IIS, it works (at least for the first two levels, after that it ignores the domain, that appears to be an older issue that has never been fixed). If I use the domain that IIS is using though, it just ignores the setting and renders the links without the domain.
For example, I have dev.xxx.com pointing at the site in IIS. I have dev.xxx.com as the hostname, set it to use the prefixes, nada. If I change the hostname to pie.xxx.com, or any other domain at all, it appends the prefix. Wierdness.
I need it to work on more than two levels of content, and I need it to work with the actual domain assigned to the node, even if it is the same one that IIS is using. So it looks like I might be better off coding something myself. Ah well.
Hi Tim,
Check this link,
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/11974-Bugs-in-domain-prefixes
My solution for this problem:
I have one rootnode for each site, one for Spanish version, one for English version and the last one for the French version of my site.
I configure the HostName for the English and French versions (http://english.be-computed.com/ and http://francais.be-computed.com/ respectively).
http://es.tinypic.com/view.php?pic=10f99om&s=7
HTH.
Sincere regards,
Eduardo Macho
I too have discovered the reason for my heartburn, my links do not work correctly below the second level. The link referenced is no longer valid. Where can I find a fix or hack or resolution?
is working on a reply...