Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
removed tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How can I create Rulesan event condition for event whena 404 error generated?

I've assignedI set a page for the 404 error handling (example.com/404).
I've I created Rules condition: Data to compare: [site:current-page:url]the Data to compare: [site:current-page:url], Data value: 404.
And I've created some RulesData value: 404 condition and an action for this caseof that condition.

But when I open nonexistentWhen a non existing page (example.com/wrong) - there is requested, no corresponding Rules action.
It is because I see 'exampletriggered.com/wrong' address I guess it happens because the page URL is https://example.com/wrong, instead of 'examplehttps://example.com/404.com/404'

But howHow can I create Rules condition for event whena 404 error generated?

How can I create Rules condition for event when 404 error generated?

I've assigned page for 404 error handling (example.com/404).
I've created Rules condition: Data to compare: [site:current-page:url], Data value: 404.
And I've created some Rules action for this case.

But when I open nonexistent page (example.com/wrong) - there is no corresponding Rules action.
It is because I see 'example.com/wrong' address instead of 'example.com/404'

But how can I create Rules condition for event when 404 error generated?

How can I create an event condition for a 404 error?

I set a page for the 404 error. I created the Data to compare: [site:current-page:url], Data value: 404 condition and an action of that condition.

When a non existing page is requested, no action is triggered. I guess it happens because the page URL is https://example.com/wrong, instead of https://example.com/404.

How can I create condition for a 404 error?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/#!/StackDrupal/status/402919748641767425
Source Link
Dimetry
  • 440
  • 4
  • 23

How can I create Rules condition for event when 404 error generated?

I've assigned page for 404 error handling (example.com/404).
I've created Rules condition: Data to compare: [site:current-page:url], Data value: 404.
And I've created some Rules action for this case.

But when I open nonexistent page (example.com/wrong) - there is no corresponding Rules action.
It is because I see 'example.com/wrong' address instead of 'example.com/404'

But how can I create Rules condition for event when 404 error generated?