• Resolved gediweb

    (@gediweb)


    I have 2 registration forms/logins. One for patients and another for doctors. I put them on different pages. I need when someone logs in, to redirect them to a specific page. different for each login.

    I cannot get it to work. I tried through the shortcode and not working for me. Can you please help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @gediweb,

    You can follow the suggestion form @medard22 and let me know if it helps or not. I am sure that it will help.
    And, thanks for the reply @medard22.

    Regards!

    Thread Starter gediweb

    (@gediweb)

    Thanks @medard22 & @sharmadpk03,

    I saw that, but I have 2 registration/login forms that need to redirect to different places. One is for patient portals and one is for surgeons/professionals. Not sure how I can adapt it to 2 different redirects.

    Thread Starter gediweb

    (@gediweb)

    @sharmadpk03 any insight on this? How to use functions.php to redirect 2 forms to 2 different pages?

    Hi @gediweb,

    Regarding the registration form redirect, you can insert the redirection URL in the Form Setting. Click on the registration form you want to use the redirection. And then follow the steps indicated in the screenshot. Here is the screenshot https://prnt.sc/rnka8y

    You can do a similar thing with the other registration form.
    Regarding the login form redirect, it will only redirect to a single page after login. You can display the login form using the login shortcode [user_registration_my_account] in different pages but since the login form is unique, the redirection through the functions.php code works globally for all the forms.

    Please send me a screenshot of the code that you have used in the functions.php so that I can see if everything’s correct or not.

    Let me know and I will get back to you.
    Regards!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘does not redirect’ is closed to new replies.