• Resolved d_alinus2004

    (@d_alinus2004)


    Hello, It’s there any solution for redirect the user after registration on a specific page ?

    For example, after he finis the registration proces, he will be albe to se a specific page.

    Many regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    The following code recipe will redirect a member to a specific page after signing up:

    https://gist.github.com/strangerstudios/2e899012f4fce108242e

    You can replace the $url variable’s value with any URL and the user will be redirected there.

    You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

    If you already have a customizations plugin, you can add this recipe to your existing plugin file. Please be careful not to copy the opening ?php tag as it will trigger a fatal error. Here’s a helpful article on How to Copy and Paste Custom PHP Recipes.

    Thread Starter d_alinus2004

    (@d_alinus2004)

    It’s great! I just remplace the code: return $url;

    with return $myurl.com/;

    Many regards

    Plugin Support Jarryd Long

    (@jarryd-long)

    I’m so glad to hear this is working for you. Feel free to reach out if there’s anything else we can assist you with.

    Thread Starter d_alinus2004

    (@d_alinus2004)

    I realy apreciate your work.

    Just let me know if it’s fine how i have replace the code .

    I just remplace the code: return $url; with $myurl.com/blog;

    That’s fine?

    Thread Starter d_alinus2004

    (@d_alinus2004)

    Hello there, I just try the both version of url redirection and it’s not work..:(

    After the registration the user receive a error on the page!

    misticjeff

    (@misticjeff)

    @d_alinus2004

    $url = home_url("https://www.google.com");

    Add the URL you want to direct to, inside the quotes, the same place i’ve put the Google URL.

    Thread Starter d_alinus2004

    (@d_alinus2004)

    Hello, That’s realy great! It’s work perfect.

    Many regards

    Plugin Support Jarryd Long

    (@jarryd-long)

    Thank you for contributing to this discussion @misticjeff.

    I’m glad to hear it’s now working for you @d_alinus2004.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Redirect on a specific page after register’ is closed to new replies.