Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am failing to write a Rule that deletes the URL Alias when a node is deleted. Can anyone help with what is wrong?
{ "rules_my_delete_url_alias_with_node" : {
"LABEL" : "My Delete URL Alias With Node",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "path", "rules" ],
"ON" : [ "node_delete" ],
"DO" : [ { "node_path_alias" : { "node" : [ "node" ] } } ]
}
}
Comments
Comment #1
mitchell CreditAttribution: mitchell commentedYour export works for me. It is correctly configured. Could you please check again and report back?
Comment #2
xbrianx CreditAttribution: xbrianx commentedI just tried his rules set up and it does not work for me. I am having problems that when content is deleted its URL alias is not getting deleted, I found this thread and decided to try this rules set up. However, it does not work for me.
Comment #2.0
xbrianx CreditAttribution: xbrianx commentedcode snippet
Comment #3
TR CreditAttribution: TR commentedNo further information provided.