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

    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):

    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:

    We want it to point to a url like this:

    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)

Please Sign in or register to post replies

Write your reply to: