Re: Question about HTTP 301 permanent redirects
| From: | Jochem Maas | Date: | Tue, 28 Jun 2005 11:20:56 +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-217749@lists.php.net to get a copy of this message | ||
Jasper Bryant-Greene wrote:
Jochem Maas wrote: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)Waste of time. Go read the HTTP spec. Apologies for missing the typos, Iheader('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"); ?>
was rather in a hurry. The point is, it wasn't a 301 redirectvery pointy indeed.
Jasper