Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 631 posts 1018 karma points
    Dec 05, 2014 @ 12:22
    Dan Evans
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 05, 2014 @ 12:28
    Jan Skovgaard
    100

    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

  • Dan Evans 631 posts 1018 karma points
    Dec 05, 2014 @ 16:35
    Dan Evans
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft