You are here: Re: [PHP] Question about HTTP 301 permanent redirects « PHP « IT news, forums, messages
Re: [PHP] Question about HTTP 301 permanent redirects

Posted by Marek Kilimajer 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
> was rather in a hurry. The point is, it wasn't a 301 redirect.

It's not really a waste of time. Some apache/php configurations accept
only the first form, some only the second.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация