User Redirection to a specific page

I want my users to be redirected to Kundenbereich Page after successful registration. Please see the snapshot for better understanding.

[attachments are only viewable by logged-in members]

At this stage I want my users to be in Kundenbereich page…please help me out how to do it..thanks

  • Tyler Postle
    • Recruit

    Hey Saif,

    Are you still wanting them to be able to see the username and password as well? Or just go straight to the page you mention above after the registration process. Moving where the username/password info is would be a little tougher to do and may require a developer.

    Look forward to hearing back on this!

    Cheers,

    Tyler

  • Saif
    • New Recruit

    Hi Tyler, thanks for your quick reply….I want user to redirect straight to the mentioned page after successful registration…but the problem is, where they gonna find/see their newly generated password then ?

    Thanks

    Saif

  • Tyler Postle
    • Recruit

    Hey Saif,

    Yes, that would be a problem. What we could do instead is try editing the text below your credentials on that page to encourage them to navigate to the page you want them to go to after signing up. Would that work? This way they still get to make note of their credentials before moving on.

    Cheers,

    Tyler

  • Adam
    • Support Gorilla

    Hello Saif,

    I hope you’re well toda!

    I apologize for keeping you waiting and let me jump in with a solution proposal, since Tyler is now on his Christmas vacation.

    I think what you both agreed here (meaning adding a message to “welcome” screen) is the most reasonable solution. I’d suggest a “two step” solution, where the first step would be optional.

    1. (optional) Hide default “You can now update your details by going to….” message

    This could be done with simple CSS rule as follows:

    #signup-content .view {display:none;}

    A simplest way to apply this code would be to add it to your current theme’s “custom css” option (if there’s any) or via a “Simple Custom CSS” plugin.

    2. Adding a custom text to “welcome screen”

    Since there’s no dedicated filter/hook for this in “Remove Email Verification” plugin we could use a JS solution here:

    <?php
    function wpmu_signup_welcome_msg() {
    ?>
    <script type="text/javascript">
    jQuery(function($) {
    var task = setInterval(function() {
    if( $('#signup-content').length ) {
    var curr_msg = $('#signup-content').html();
    if (/your account has been/i.test(curr_msg)) {
    curr_msg = curr_msg + '<p class="my_msg">Please visit this page <a href="https://google.com">GOOGLE</a></p>';
    $('#signup-content').html(curr_msg);
    }
    clearInterval(task);
    }
    }, 500);
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'wpmu_signup_welcome_msg');

    The line you will want to customize is this one:

    curr_msg = curr_msg + '<p class="my_msg">Please visit this page <a href="https://google.com">GOOGLE</a></p>';

    As you can see there’s a custom message with a link, enclosed within <p> tag for easy styling. These HTML tags and a message itself is what you will want to change.

    To apply this code, create an empty file with a .php extension, copy & paste the code inside it and then upload it to your site’s “/wp-content/mu-plugins/” folder via FTP. If there’s no “mu-plugins” folder, just create it.

    I hope that helps!

    Best regards,

    Adam