Login Destination
This module allows you to control where users are redirected after logging in, registering, using a one-time login, or logging out. You can set custom destinations based on conditions like user roles or the page they were on, or choose to keep them on their current page.
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.
Drupal 8, 9, 10 and 11
The latest 8.x version is compatible with Drupal 8, 9, 10 and 11.