Forum Discussion

phani's avatar
phani
Advisor
8 years ago

How to change registration destination URL?

Hi,

 

I want to show a custom page after user complete registration. As per my observation Lithium is passing parameter "dest_url" in the registration link. After registration user is redirecting to dest_url.

Is there any direct setting available to change this dest_url?

Appreciate your help in this regard.

 

Thanks & Regards,

Phani

    • phani's avatar
      phani
      Advisor

      Hi VarunGrazitti,

       

      Thank you for the response. 

      I think the options which you referred related to SSO, we want this change for non SSO community. 

      For example following is the default Lithium registration URL (Register button).

      {Community}/t5/user/userregistrationpage?dest_url={Community Home Page}

      I want to to change dest_url value of the default registration page link.

       

      Thanks,

      Phani

       

      • sunny_mody's avatar
        sunny_mody
        Advisor
        Hi phani,

        I believe dest_url is the parameter set by Lithium to redirect user back to the page from where the user has arrived on registration page, and it makes perfect sense as new users may not be known to community structure.

        But hopefully you can change this parameter by writing some freemarker code in Studio -> Page Initialization tab. Not sure but you can give it a try.