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

From: Date: Wed, 18 Jun 2008 08:33:49 +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-275512@lists.php.net to get a copy of this message
> 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. You may set it... so for example: header('HTTP/1.1 200 OK'); Regards, Philip

« previous php.general (#275512) next »