1

In my site when a user logs in he is redirected to the profile page(profile2 module). But when returns to the site(and is already logged in), he is taken to the user account page. How do I override this redirect and see to that he is take to profile page?

UPDATE: The user must be redirected from the site frontpage which contains the user login form

1 Answer 1

2

You can use Rules module, force user to redirect to whatever page after login. It's very easy to get it done via the Rules UI, try it out. http://drupal.org/project/rules

1
  • As I mentioned in my question... the user redirect after login is perfectly fine. It is part where a logged in user returns to the site. (Eg: on typing example.com on the address bar he should be taken to the profile page).
    – user2948
    Commented Jan 12, 2012 at 6:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.