When using Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl() it doesn't seem to do any conversion to a friendly url. But there is a crawler which makes the url friendly in href but i do have a need to be able to make friendly url manually.
<link class="alternative-url" href="@URL" hreflang="en" test1="@URL" rel="alternate">
Gives below result in frontend
<link class="alternative-url" href="/shop/watches" hreflang="en" test1="Default.aspx?ID=198" test2="Default.aspx?ID=196&groupid=SHOP1Watches" rel="alternate">
<link class="alternative-url" href="@URL" hreflang="en" test1="@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(URL)" rel="alternate">
Gives below result in frontend
<link class="alternative-url" href="/shop/watches" hreflang="en" test1="Default.aspx?ID=198" test2="Default.aspx?ID=196&groupid=SHOP1Watches" rel="alternate">