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" ] } } ]


mitchell’s picture

Status: Active » Postponed (maintainer needs more info)

Your export works for me. It is correctly configured. Could you please check again and report back?

xbrianx’s picture

I 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.

xbrianx’s picture

Issue summary: View changes

code snippet