Reverse proxy and smart search

Greg Woz asked on October 22, 2014 16:21

Hello,

Can you help me with resolution for following issue.

My team developed project under domain e.g. test.com and for a such URL we have a Kentico licence and it is a default URL in Sites tab. Our IT Ops team has set up a project using Reverse Proxy so other URL yyyy.com displays test.com .

All works fine except Smart Search results. Content is indexed correctly and we can see correct search results but as a link to particular subpage we can see URL: test.com/

Recent Answers


Roman Koníček answered on December 18, 2014 13:02

Hello Greg,

I would suggest to modify the transformation which you are using for displaying the search results. In this transformation you should just replace the current domain with the domain you need. If you are using ASCX transformation, you could simply create custom method as described here https://docs.kentico.com/display/K81/Adding+custom+methods+to+transformations. In case you are not using ASCX transformation, then you could implement custom macro method. More information could be found here https://docs.kentico.com/display/K8/Registering+custom+macro+methods

Regards, Roman Konicek

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.