Reply to Re: [PHP] Question about HTTP 301 permanent redirects

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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