Re: Question about HTTP 301 permanent redirects

From: Date: Tue, 28 Jun 2005 11:20:41 +0000
Subject: Re: Question about HTTP 301 permanent redirects
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-217748@lists.php.net to get a copy of this message
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
header('HTTP/1.1 301 Moved Permanently');
also consider that using 'Status' may be better or possibly both to cover you bases, e.g.: <?php header("HTTP/1.1 301 Moved Permanently"); header("Status: 301 Moved Permanently"); ?>
Waste of time. Go read the HTTP spec. Apologies for missing the typos, I was rather in a hurry. The point is, it wasn't a 301 redirect.
It's not really a waste of time. Some apache/php configurations accept only the first form, some only the second.

« previous php.general (#217748) next »