How to redirect users after login / registration
This has been asked so many times, so here is the quick tutorial on how to do this.
- Open form-login.php and form-registration.php and add the following code right after ?> at the top.
PHP Code:
<?php
// Redirect to Dashboard
$_REQUEST['redirect_to'] = home_url('/dashboard');
?>
You're done and now your new signups and existing members will be redirected to their dashboard right after
Enjoy!