DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

Here is a very handy code snippet to redirect the user to a custom page after registration on your WordPress blog or website. Super useful for those using WP as a CMS!

Simply drop this snippet in your functions.php or a plugin.

function __my_registration_redirect(){
    return home_url( '/my-page' );
}
add_filter( 'registration_redirect', '__my_registration_redirect' );

Thanks TheDeadMedic for the tip!

One Comment

  1. And thank you guys for sharing with us! Great simple sweet tip. Cheers!

Leave a Comment

Your email address will not be published. Required fields are marked *