Hi Guys
I'm using SearchEngineFriendlyURLs.GetFriendlyUrl in a product list template that serves json data for my ajax search page.
It works fine when I pass an ID like this:
SearchEngineFriendlyURLs.GetFriendlyUrl( 1514 );
But when I pass a raw url like this, it returns the url without any changes:
SearchEngineFriendlyURLs.GetFriendlyUrl( "Default.aspx?Id=1514&ProductID=PROD129" );
The url is valid. If i paste it directly into the browser address field, I get the correct page and the url is rewritten correctly.
Am I missing something here?
--
All the best,
Jesper