Redirect a user after successful registration to specific page

Snippets by IsItWP

This snippet will redirect users to a page after they register in WordPress.

Add this snippet to the functions.php file of your WordPress theme.

function wps_registration_redirect(){
    return home_url( '/finished/' );
add_filter( 'registration_redirect', 'wps_registration_redirect' );

You may also enjoy learning how to change the register text to “Sign Up” on the WordPress login page.

Comments  Leave a Reply

  1. 16 Useful Code Snippets for WordPress September 9, 2015 at 8:01 am

    […] Source: WPSNIPP […]

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!