Re: Re: Search like php.net's URL thingy
| From: | Nate Tallman | Date: | Wed, 18 Jun 2008 16:19:32 +0000 |
| Subject: | Re: Re: Search like php.net's URL thingy | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275529@lists.php.net to get a copy of this message | ||
On Tue, Jun 17, 2008 at 3:22 PM, Jon Drukman <jsd@cluttered.com> 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.