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'd like to configure a Rule to check if the URL field has been changed or deleted as a condition to unpublish the node. Is there rule integration for D7 (http://drupal.org/node/713122) or can anyone suggest custom php code?
Comments
Comment #1
stevenx CreditAttribution: stevenx commentedYou could simply check the header code of your url
if
404 or 301
unpublish node
just check:
http://stackoverflow.com/questions/408405/easy-way-to-test-a-url-for-404...