I'm trying to create rule using the rules module to solve this problem here. In essence what I want to say is:
"If the page I'm about to view is of a certain type then redirect me to a different URL"
Now I've tried doing this with the following rules:
- Event: Node > Content is going to be viewed
- Condition: Path has alias(es) of "story/*" and "page_feature/*"
- Do: A page redirect
This seems to do nothing and I've tried:
- Event: System > User is going to view a page
- Condition: Path has alias(es) of "story/*" and "page_feature/*"
- Do: A page redirect
This also does nothing and I've tried:
- Event: Node > Content is going to be viewed
- Condition: Content has type "story" or "page_feature"
- Do: A page redirect
This results in the search results page (if a story or feature is found) redirecting to the url I'd configured in the "page redirect" (which I can sort of understand) I tried adding a condition of: Path has alias(es) of "search/*"(negated) in an effort to say don't do this if you're on the search page but that didn't work (not having a good day here!!)
Read »








