I have a drupal 7 site and it is redirecting to a page after login. I don't want it to redirect to that page but want it to redirect to another page.
Where can I look for what controls this? I am fairly certain this is going to be in the admin area of drupal but have not found it yet.
You can change the destination via rules/Actions.
Read more at https://www.drupal.org/node/683696
You have 3 options here:
Simply install the Login Destination module and set the path you want your user to be redirected to in the admin settings page of the module.
Use the hook_user_login
hook hook_user_login(&$edit, $account)
Use the Rules to specify a rule for when an user logs in.
You can :
Default front page
You can use Rules module,
The Rules module allows site administrators to define conditionally executed actions based on occurring events.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.