In Drupal, there are numerous modules that will enable you to redirect a user login to preferred destination pages. This can also be set to redirect users after logout. See modules below that can help you with this requirement.
Drupal 9, 10
Redirect after login
A simple module providing a feature to redirect users according to an URL-defined the parameter after logging in. Allows redirecting only the internal URL of the site.
Download the module here: https://www.drupal.org/project/redirect_after_login
User Redirect (redirect user after login/logout)
This module is developed to redirect the users to specific path after login or logout event.
Download the module here: https://www.drupal.org/project/user_redirect





Drupal 8, 9, 10
Redirect Page By Role
It is a module that allow your website redirect any user in any node to anywhere. The redirects could be configured for individual nodes or by content type.
Download the module here: https://www.drupal.org/project/redirect_page_by_role


Login And Logout Redirect Per Role
- Redirect user (to specific URL) on Log in
- Redirect user (to specific URL) on Log out
- Set specific redirect URL for each role
- Set roles redirect priority
- Use Tokens in Redirect URL value
Roles order in list (configuration form) is their redirect priorities: higher in list – higher priority
Download the module here: https://www.drupal.org/project/login_redirect_per_role

