Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
It often depends on how you render/resolve the URL in your views. What methods are you using to render the URL? You have to resolve it in the current context for it to work with different domains. I recommend using the Url.ContentUrl(Model.MyUrlProperty)
method.
I am experiencing a strange behaviour, in regards to generating links between two websites, specifically links to child-pages, which both exists in the same Optimizely installation.
To illustrate, lets say i have the following pages (color coded to make each website easier to keep track of):
Scenario:
On "Article page on website 1" i want to make a link to "Article page on website 2" using a "LinkItemCollection" property:
The strange behaviour is experienced when i render the link on the page - it keeps outputting the domain as if the page was under "Website 1 startpage", instead of "Website 2 startpage" where it belongs, which results in a 404.
What is also strange is, that if i specifically wanted to link from "Article page on website 1" to "Website 2 startpage", the domain is correct - which means, i can only ever create a link to the Startpage of a different site. It is as if the link generation can not "guess" which website it belongs to.
Has anybody else dealt with this issue?