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:
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.
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:
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)
is working on a reply...