Redirect WordPress Users After Login Based on User Roles
By default, users are redirected to the WordPress admin dashboard after they log in. LoginWP offers you a wide range of redirection options so you can take users to your preferred page, post, or custom URL.
In this article, you will learn how to redirect users after login based on their user roles.
Creating Redirection Rules Based on User Roles
Go to LoginWP>>Redirections>>and click on “Add New”.
Under Rule Condition, select the user role.
Enter the login and logout URLs for users with the selected user role.
Click on Save Rule and that’s it
If you want to use any of the placeholders or merge tags in the login/logout field please visit Login Redirect Placeholders & Use Cases.
See also: How to Redirect Users After Login to Previous/Referrer Page