Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

PageData LinkURL property and friendly url

Vote:
 

Hi

Just wont to check if a have missed some settings in 5R2 to get the LinkURL

property to return a friendly Url

A have two sites one in 4.61 and the other in 5R2

in 4.6x the LinkURL property returns a friendly url like http://localhost/section/page

But in 5 a get structure like http://template/page.aspx?id=xxx&epilanguage=sv

And a have some function that was depending on a geting a "correct" url to function properly that now that will not work correct.

Regards

Per

#28488
Mar 11, 2009 10:59
Vote:
 

Hi Per,

You could use the ConvertToExternal metod in the UrlRewriteProvider. Ted Nyberg also made a blogpost about it here.

#28490
Mar 11, 2009 13:17
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.