Copied to clipboard

Flag this post as spam?

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


  • Tim Davis 4 posts 84 karma points
    Apr 19, 2019 @ 23:42
    Tim Davis
    0

    Umbraco 7.14.0 returning absolute URLs for random hostname

    We use multiple hostnames on our Umbraco instance. I don't know when this changed but I noticed that any URL retrieved via IPublishedContent.Url is now an absolute Url. IPublishedContent.Url is returning Hostname as well as path, and here's the kicker, it's not even the same hostname as what is currently being used, it's randomly picking one from the list of hostnames.

    I checked 'useDomainPrefixes' and it is set to false.

    There is no use of Base tag

    Any ideas?

Please Sign in or register to post replies

Write your reply to:

Draft