When you need to direct a particular user to a certain page based on their role in WordPress, you don’t need to spend money on a redirect plugin – just put the following code in your function.php file.

n

For instance, if you want all Subscribers to be redirected to their Dashboard.