Posted By

dilios on 11/17/12


redirect drupal7

Versions (?)

drupal_goto() to send the user to a different page

 / Published in: PHP


Sends the user to a different Drupal page.

This issues an on-site HTTP redirect. The function makes sure the redirected URL is formatted correctly.

  1. drupal_goto('node/'.get_local_node_nid($redirect_nid));

Report this snippet  

You need to login to post a comment.