I am debugging using Rules and everything checks out in my debug:

* 0 ms "User has logged in" has been invoked.
* 0.081 ms Executing the rule "redirect on login" on rule set "User has logged in"
* 0.221 ms Condition "User has role(s)" evaluated to TRUE.
* 0.307 ms Action execution: "Page redirect"
* 0.371 ms Evaluation of "User has logged in" has been finished.

I set up an active rule called "redirect on login".

Condition is that the user has a role of "rolex"

The action is that there's a Page Redirect to the following node:

http://sites.fcps.org/read180/node/9

I have the full URL in the TO: field (first part of the collection of fields). Either way using absolute path or relative Drupal node path it doesn't work.

I logout and login as that role and no redirection happens.

What am I doing wrong?

Using latest version of Rules module with Drupal 6.16.

-backdrifting

Comments

saurabh.bhambry’s picture

even I am facing the same problem :
Using Drupal : 6.16
Rules also the latest version available as on date
Trigger module is enabled too .

But it re-direction not happening .

damonatodd’s picture

I am having the same problem, everything looks OK but nothing seems to happen. I am using Drupal 6.16 and Rules 2...

samchok’s picture

same here

rmanola’s picture

Same here, I set the redirect rule and the page is not redirected.

I'm using it in conjunction with the button_field module.

rmanola’s picture

Okay, I was checking both checkboxes. I unchecked both and now it's working.

webindustries’s picture

so you have a Page Redirect action in Rules working fine?

Still at a loss as to why this will not redirect....

baff’s picture

Redirect does not work too

cbear42’s picture

Works in some circumstances - but not other (more critical to my application) circumstances. For the most part, not working - even in the simplest scenarios.

bloke_zero’s picture

I noticed that if I'm using the login-block it doesn't work but it does if I use the form at /user

I didn't sweat it much because I've got some whacky stuff going on with the form and just changed the #destination in form_alter instead but it'd be interesting if its the block and not the page. I got the same results with actions and triggers btw.

cbear42’s picture

I've disabled ALL rules trying to get a Content Profile form to direct to an Ubercart page on Profile Submission. There is just no reason for it NOT to work as far as setup goes. It's a very simple redirect.

Any resolution anybody?

TIA.

gatman’s picture

From the login block neither Rules (nor Triggers) will work with a redirect - but will work from Login page (/?q=user).

botris’s picture

As per http://drupal.org/node/789066#comment-3586996 set the option check the option "Force redirecting to the given path, even if a destination parameter is given"