AI OnAI Off
Have a look at this post from Joel http://joelabrahamsson.com/episerver-7-and-mvc-getting-the-url-for-a-page/
Or you could try using GetUrl instead: EPiServer.Web.Routing.UrlResolver.GetUrl()
http://world.episerver.com/Documentation/Class-library/?documentId=cms/7.5/38F749DB
There is an active bug for this that we are currently working on. Hopefully the fix will be include in next release.
Hi
I am using @Url.PageLinkurl() helper to render my links. I have a website with multiple languages and they all have domains mapped to each language branch as below:
My issue is when i try to use a page from another language, for example if I use a page from the German language branch on the English website, my link is rendered as www.example.com/de/my-link/ instead of www.de.example.com/my-link/.
The my-link page doesnot exists in the english language branch. is there any other helper method that I should be using to get the correct behaviour?