Admins loggin in to our wordpress site default to the admin page
if user try to login directly by example.com/wp-login.php without redirect_to parameter after authentication wp-login.php check the user’s capability and decide where to redirect the user. you can modify this behavior with login_redirect filter hook.