[development] [Redirect API] drupal_goto() and 301
introfini at gmail.com
Wed Jun 14 13:28:07 UTC 2006
You can do that in the .htaccess file, you don't need drupal.
Or you can do that with PHP:
Redirect in PHP
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
From: development-bounces at drupal.org [mailto:development-bounces at drupal.org]
On Behalf Of Anguo
Sent: Wednesday, June 14, 2006 12:28 PM
To: development at drupal.org
Subject: [development] [Redirect API] drupal_goto() and 301
How can I combine a drupal_goto() with a permanent redirect?
I am creating a small phpbb_redirect module to go together
with phpbb2drupal.module. The latter import the phpBB forum
into Drupal, the former should redirect incoming links to
the new Drupal forum.
I would like to notify the search engines that the change is
I know how to make a permanent redirect with php/HTML, but I
don't know how to combine this with drupal_goto().
thanks for your help,
Because we and the world need to change.
Intimate Relationships, peace and harmony in the couple.
Revolutionary Psychology, White Tantrism, Dream Yoga...
Condorcet, Approval alternative, better voting methods.
More information about the development