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
UComponents v 5.4.1
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.
Hope this helps.
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.
Write your reply to:
Image will be uploaded when post is submitted