We have a page in episerver where you can send a email where you get a link back to the page.
The problem is that the link posted back isn't a friendly url, and so it doesn't work.
How can we solve this?
Is there a way to generate a friendly URL already in the email?
A quick fix is to generate the friendly url manually. This can be done in the following manner:
UrlBuilder url = new UrlBuilder(page.LinkURL);EPiServer.Global.UrlRewriteProvider.ConvertToExternal(url,page.PageLink,System.Text.UTF8Encoding.UTF8);