Skip to main content

Form API

redirect

How to redirect an user after logging into a drupal 7 site?

The main intention of this post is to provide a basic idea about coding which will redirect the users to a custom page once after logging in. The idea of the post was successfully tested in a sample Drupal 7 site and worked very well in all aspects. Once an user logs in, he will be redirected to his profile page. Is that what he needs to see? Apparently not, in that case it is essential for the site admins to redirect the user to the page that he needs.

Subscribe to Form API