We recently moved our Umbraco site to a load balanced environment. Since then the uComponents URL picker has used the wrong hostname for URLs (a secondary one that is configured in Umbraco). The back office is on another domain (not configured in hodstnames). So
Back office - admin.cms
Correct domain - www.domain
URL Picker assigns - another.domain
How do we force the URL picker to pick the correct domain? The correct domain is the 1st in the list in umbracoDomains and the incorrect one is 2nd (there are 4 altogether).
I think that the safest way is to actually use the id, which should also be a part of the XML output if I remember correctly. Otherwise it will not update or change anything unless the app pool is recycled I think. I know we had these issues at my former work and just used to call umbraco.library:NiceUrl() with the id to be on the safe side if an internal link has been selected.
Thanks Jan, that makes sense and I did think about doing that but was wondering if it was a bug in the URL Picker or not. I had recycled the App Pool then reselected items in the URL Picker but to no avail.
Incorrect hostname used by URL Picker
UComponents v 5.4.1
Umbraco 6.2.2
We recently moved our Umbraco site to a load balanced environment. Since then the uComponents URL picker has used the wrong hostname for URLs (a secondary one that is configured in Umbraco). The back office is on another domain (not configured in hodstnames). So
Back office - admin.cms
Correct domain - www.domain
URL Picker assigns - another.domain
How do we force the URL picker to pick the correct domain? The correct domain is the 1st in the list in umbracoDomains and the incorrect one is 2nd (there are 4 altogether).
Thanks
Dan
Hi Dan
I think that the safest way is to actually use the id, which should also be a part of the XML output if I remember correctly. Otherwise it will not update or change anything unless the app pool is recycled I think. I know we had these issues at my former work and just used to call umbraco.library:NiceUrl() with the id to be on the safe side if an internal link has been selected.
Hope this helps.
/Jan
Thanks Jan, that makes sense and I did think about doing that but was wondering if it was a bug in the URL Picker or not. I had recycled the App Pool then reselected items in the URL Picker but to no avail.
Thanks
Dan
is working on a reply...