$form['#redirect'] = urlHowever now Drupal 6 uses the form API for node delete, using this code on a node form will prevent you from deleting nodes: the form will redirect before you reach the delete confirmation page. An easy work around is to define a hidden field in the form called destination, with the redirect URL as the value.
$form['destination'] = array( '#type' => 'hidden', '#value' => url, );
How to get Drupal's clean URLs working on OS X