Re: Question about HTTP 301 permanent redirects
| From: | Jasper Bryant-Greene | Date: | Tue, 28 Jun 2005 10:41:02 +0000 |
| Subject: | Re: Question about HTTP 301 permanent redirects | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217745@lists.php.net to get a copy of this message | ||
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.
Jasper