Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » SearchEngineFriendlyURLs.GetFriendlyUrl

SearchEngineFriendlyURLs.GetFriendlyUrl

Jesper Holm Damgaard
Reply

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


Replies

 
Jesper Holm Damgaard
Reply

Anyone? Please...

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Jesper

Yes, sorry. We did fix that with TFS#33158 which will in the Dynamicweb package 9.2.12

Votes for this answer: 1
 
Jesper Holm Damgaard
Reply

Great, thx!

 

You must be logged in to post in the forum