Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Sounds like you need to write a custom htmlhelper to house your rewriting logic.
Thanks Surjit. Do you have any links to a solution with similar rewrite logic?
Take a look at the extension method Url.ContentUrl, you could write your own version of it and have your rewrite logic in there. I believe there's two version of it, one for ContentReferences and the other for the Url property.
I am using a multi-site CMS 12 solution, which has 3 different domains configured in the Manage Websites section all using the same folder structure and content.
I'll call them
qa1.OptimizelySite.com
qa2.OptimizelySite.com
qa3.OptimizelySite.com
I also have other applications that share a similar environment setup with 3 QA sites configured.
qa1.WordpressSite.com
qa2.WordpressSite.com
qa3.WordpressSite.com
If the user is browsing on qa1.OptimizelySite.com, I want a LinkItem or Url property that directs to the Wordpress Site to go to qa1.WordpressSite.com. Similarly if they are on qa3.Optimizelysite.com i want them to be directed to qa3.WordpressSite.com
What is the best way to achieve this?