Redirect User to custom URL after registering

You can use wp_redirect function (Codex) at any point where you want to redirect the user:

wp_redirect( home_url() ); exit;

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)