Redirect after deleting a node

Redirect after deleting a node

The Problem

The Solution

In your node_delete hook set the code for $_REQUEST['edit']['destination']. Example function node_delete(&$node) { $_REQUEST['edit']['destination'] = [redirect path]; }

Related Posts

Drupal URL Redirect after Node Creation

Chris Sloan
Read more

Don't sync Drupal files to local environments. Redirect them Instead.

Mark Carver
Read more

Redirect all requests to a canonical domain

Dustin Currie
Read more

How to Add Drag and Drop Blocks to any Node on your Drupal Website

Randall Knutson
Read more

Drupal node publishing options

Tom McCracken
Read more

Drupal Importing Nodes with the Feeds Module

Chris Sloan
Read more