Redirect after user creation via form
If you have created a custom user registration form my_module_user_register_form, then you can define one or more submit functions for it

function my_module_user_register_form($form, &amp;$form_state) {
    $form['#submit'][] = 'my_module_user_register_form_submit';
    // and now add a second submit function if you like
    $form['#submit'][] = 'my_module_user_register_form_another_submit';
}


and then place the appropriate redirect at the end of the last submit function.

function my_module_user_register_form_another_submit($form, &amp;$form_state) {
   // do other stuff here 
   $form_state-&gt;setRedirect('node/123/edit');
}