Use Login Destination for login redirects in Drupal 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 (7.x), using a one-time login link or logging out (7.x). 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.

Note: As of january 2018 there is inly a dev version availabnle fro Drupal 8, but it seems to work well (8.x-1.x-dev updated 1 Jan 2018 at 11:18 UTC)


Drupal themes to be compared