How to redirect WordPress login to dashboard

I have a multi site wordpress network which allows user to create a sub-directory site. Now when they login from my site(I use default wp-singup.php) they get redirected to main site but I want them to jump to there sub-site dashboard
NOTE: Tried many plugins and added code to mu-plugins and function.php but nothing happened