Copied to clipboard

Flag this post as spam?

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


  • EKohl 6 posts 86 karma points
    Jan 13, 2020 @ 17:48
    EKohl
    0

    Azure Front Door not working with Razor RSS feed

    We have a multilingual site (EN/FR) hosted on Azure and routed using Azure Front Door

    The domain for the site is are similar to the following (I've changed the domains because it is a public forum, so they won't work):

    prod.domainname.com

    In Umbraco, the domains set under Culture and Hostnames are as follows:

    • Domain: / Language: English (Canada)
    • Domain: /fr-ca Language: French (Canada)

    The site works fine, EXCEPT when we generate the RSS feed in Razor, where it builds the using the Azure url, rather than the domain name, with a url like:

    https://appwebsite.azurewebsites.net/news/

    We want it to point to a url like this:

    https://prod.domainname.com/news/

    Is there somewhere in Umbraco Settings or backoffice where we can force it to use the url we want?

    Or, is there a way in Razor to make the news feed pick the correct url. The links elsewhere on the site resolve correctly... The RSS feed uses to discover the link.

    @Model.Url(mode: UrlMode.Absolute)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies