I want to redirect a specific user when he logs in.

There are 4 users.

Each one must go to a different url.

Under the rule I have Rule for specific user when logged in What do I need to put in for the conditions?

  • You can create a role for those users who the rule must be applied for them, then use this role in the condition – M a m a D May 28 '14 at 14:20
  • There are 4 individual users who I each want to redirect to their own page. So creating a role for each one would be unnecessary. – sasdev May 29 '14 at 15:26
  • creating role doesn't impose any overload on your website. it was just the most straightforward solution. – M a m a D May 29 '14 at 16:27

There are many other methods to do it, but I prefer this method,

Try this on your Rules module.

Events: User has logged in.

Condition: User has role

Actions: Page redirect


using "Text comparison" for the condition worked.

enter image description here

So I created a rule for each specific user.

But rather look to the other answer

  • 2
    Can you elaborate your answer so that it would be helpful for future readers. – Krishna Mohan May 28 '14 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.