Problem friendly URL

Vote:
 

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?

#20448
May 30, 2008 8:48
Vote:
 

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);

#21510
Jun 30, 2008 16:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.