Re: Re: Search like php.net's URL thingy

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

 



On Tue, Jun 17, 2008 at 3:22 PM, Jon Drukman <jsd@xxxxxxxxxxxxx> wrote:

> Nate Tallman wrote:
>
>> Why is an ErrorDocument "insufficient" or "not the elegant way"?
>> It accomplishes the goal in a clean way, no?
>>
>
> It's *WRONG*.  ErrorDocument still preserves the 404 error code, it just
> gives it a prettier face.  If the page really is there, returning a 404 for
> it is not correct.  Search engines will not index it.  You probably don't
> want that.
>
>
Not to beat a dead horse, but why would you *not* want to preserve the 404?
If it's a bad url anyways, you probably *want* to return a 404 (albeit
prettier) and you probably *don't* want search engines indexing it.

[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