Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, please read the following documentation to help you get started.

    Regards

    Thread Starter namgostar

    (@namgostar)

    I have already familiarized myself with this documentation. It does not discuss how to redirect to a different url upon successful registration. It redirects right back to the very page that they just filled the form out… which is https://wordpress.org/plugins/registration/ (I have changed the url since my initial inquiry, so disregard the link in the first post)

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, please check the following URL and focus on Q3?

    Thread Starter namgostar

    (@namgostar)

    Thank you for directing me to this solution. I understand the very basics of coding, so I apologize for my ‘thickness’ 😉

    Would I customize the code similar to what I have here?

    add_action('swpm_registration_submit', 'my_custom_after_registration_redirection');
    function my_custom_after_registration_redirection()
    {
    $url = 'http://ancestraldevelopment.jeffrygerbermd.com/registration-complete/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, the code looks correct to me. Can you give it a test and report back if it works for you.

    Regards

    Thread Starter namgostar

    (@namgostar)

    Hi. Thank you for your patience. I have placed the exact code above, in the child functions.php file. Although the page is not redirecting as I want… It is still returning to the exact same page.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, sorry but the code I submitted above would not carry out your request. Please delete from your functions.php file. I read your question incorrectly sorry about that :(.

    At the present the Form Builder add-on has the option to redirect the subscriber to a different URL after they register.

    Thread Starter namgostar

    (@namgostar)

    I would have to purchase the Form Builder add-on in order to be able to accomplish this?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, yes that is correct.

    Thread Starter namgostar

    (@namgostar)

    Thank you.

    Hi, You did some mistake. Paste this code in your theme functions.php will work like a champ:

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    
    function sam_after_registration_redirection()
    {
    $url = 'http://www.samplugins.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Redirect after registration form is filled’ is closed to new replies.