Customer Portal

Get Involved. Join the Conversation.

Topic

    Kesava Kumar
    Answer articles failed to open when searched from GoogleAnswered
    Topic posted September 29, 2016 by Kesava KumarGold Medal: 3,500+ Points 
    238 Views, 19 Comments
    Title:
    Answer articles failed to open when searched from Google
    Content:

    Hi All,

    I have a issue that when answer aritcle is searched from google it is giving one link, if answer contains special character like / then that link failed to load. It is fialing for the particular '/' only it is working for remaining special characgers like(-).

    Sample url would be like this.

    https://testcusthelp.com/app/answers/details/a_id/123/kw/testing answ/er article

    I tried to change the url by subscibing model on pre_page_render hook. But link provided by google is not even loading the pre_page_render hook and it is giving blank page.

    Any suggestions or work around for this to achieve will be helpful.

    Thanks

    Kesava

    Version:
    CP3.3

    Best Comment

    Kesava Kumar

    Hi All,

    Thanks for help of everyone.

    I am able to solve this for my self. I have achieved this in subscribed model of pre_page_render hook itself.

    What I was missing previously that, I haven't changing the kw to any other so it was infinite loop in reidrection of model.

    I renamed this to keyword someting like that, and encoded the kw parameter and skipping the infinite loop by cheking condition of kw parameter presents there or not.

    so the final url would be somehting like below.

    https://testcusthelp.com/app/answers/details/a_id/123/keyword/testing answ%2Fer article

    Thanks again for all your help special thanks for barrilito.

    Thanks

    Kesava

    Comment

    • Kesava Kumar

      Hi Barrilito,

      Thanks for your reply.

      I wiil do as you suggested.

      Thanks

      Kesava

    • Barrilito van Dijk

      Great, thanks Kesava!

      Regards.

    • Kesava Kumar

      Hi All,

      Thanks for help of everyone.

      I am able to solve this for my self. I have achieved this in subscribed model of pre_page_render hook itself.

      What I was missing previously that, I haven't changing the kw to any other so it was infinite loop in reidrection of model.

      I renamed this to keyword someting like that, and encoded the kw parameter and skipping the infinite loop by cheking condition of kw parameter presents there or not.

      so the final url would be somehting like below.

      https://testcusthelp.com/app/answers/details/a_id/123/keyword/testing answ%2Fer article

      Thanks again for all your help special thanks for barrilito.

      Thanks

      Kesava

    • Barrilito van Dijk

      Thanks Kesava.

      Regards.