
June 18th, 2008, 06:31 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Search like php.net's URL thingy
Why is an ErrorDocument "insufficient" or "not the elegant way"?
>It accomplishes the goal in a clean way, no?
>>
>
It's *WRNG*. 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.
You may set it so for example:
header('HTTP/1.1 200 K');
Regards,
Philip
|