The Drupal modules User Default Page and Login Destination allow you to customize the destination that a user is redirected to after logging in, registering or logging out.
Login Destination (Drupal 10, 9, 8 and 7)
The Login Destination module allows you to customize the destination that a user is redirected to after logging in, registering to the site, using a one-time login link or logging out. The destination can be an internal page or an external URL. It is possible to specify certain conditions like referring pages or user roles and make the destination depend upon them. You may use PHP snippets to provide custom conditions and destinations. It is also possible to keep users on the currently visited page after logging in or out.
https://www.drupal.org/project/login_destination/
User Default Page (Drupal 10, 9 and 8)
The User Default Page module provides you the facility to customize the destination a user is redirected to after logging in or logging out. The module provides you a user interface to configure the redirection settings. With this module you can add, edit or delete a user default page, you can give permission the user default page as per the roles or the user or both and you can set the URL path for login and logout action along with success messages.
Read more articles
- Log in to post comments