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
I wouldn't recommend running Epi in a virtual directory. I think it's never been supported.
Hi,
I was debugging an issue where my links were not processed properly by @Html.ContentLink and I was wondering if it supported the scenario where your app would be accessed from a virtual directory.
For example, if my app root would be http://localhost:1234, the content link would render fine, but http://localhost:1234/myapp/ would return the link unprocessed (with ~/...guid...)
I'm not sure if my usage is wrong or if the EPiServer.Web.Mvc.Html.StructureHtmlHelperExtensions.ContentLink method should be aware of the app context.
In the mean time, I'm removing the virtual folder name before calling the methis and it works fine.
Thanks.
JC