Re: Question about HTTP 301 permanent redirects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux