Re: Question about HTTP 301 permanent redirects

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

 



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

-- 
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