How to add Meta HTTP-EQUIV tag to my Drupal intermediate page

sandshakimi
sandshakimi used Ask the Experts™
on
I want to add this meta tag to a intermediate page so the visitor can be redirected.

What's the best approach?

<meta http-equiv="refresh" content="4; URL=http://somewebsite.com">
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sounds like you're approaching this from the wrong point of view. Do you really have to do a meta refresh?

Drupal has various ways of handling redirect:

<?php
drupal_goto();
?>

Open in new window


The global redirect module:
http://drupal.org/project/globalredirect

Or you can do a 301 redirect in your .htaccess file.

Author

Commented:
Does that PHP snippet go between head tags

<?php
drupal_goto(www.somewebsite.com);
?>

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial