I would like to modify wp-login.php, so that on successful admin, if I am logging in as admin, I get the dashboard page, but if I am a non-admin (other user types), I want to redirect to a different php page. So I am looking for 2 views – admin dashboard for admin, and a different page for all other users. How can I do this?
Thanks in advance.
- The topic ‘wp-login.php – one page for admin and different page for others’ is closed to new replies.