0

Through the code, I will wish my redirect the user to an absolute url.

I tested with drupal_goto () but it only works with relative urls. I wish to go to another domain that current_domain

thank you

  • drupal_goto(); should work... $path: (optional) A Drupal path or a full URL, which will be passed to url() to compute the redirect for the URL... Full URL works with drupal_goto(); – Anil Sagar Mar 5 '14 at 15:07
  • made to do as ca for ca works drupal_goto ('google.fr', array ('absolute' => TRUE, 'external' => TRUE, 'https' => FALSE)); – Djik Mar 5 '14 at 16:28

Browse other questions tagged or ask your own question.