Posted by Jochem Maas on 06/28/05 14:20
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
that would be the first time in history a web related spec actually worked
as stated ON EVERY BROWSER/SERVER.
notice the use of the words 'may be' and 'possibly', also you might wish to note
it wasn't a spec-driven comment but a 'get-it-working'-driven comment - fact is
there are people who have experienced problems with outputting of just the
'HTTP/1.1 301 Moved Permanently' (and it not doing what they want)
> was rather in a hurry. The point is, it wasn't a 301 redirect
very pointy indeed.
>
> Jasper
>
[Back to original message]
|