Re: changing the http status from file not found to....
| From: | Ben Turner | Date: | Tue, 26 Feb 2002 21:19:39 +0000 |
| Subject: | Re: changing the http status from file not found to.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86313@lists.php.net to get a copy of this message | ||
Ok I have tried sending headers to the browser specifying the page but I am
still not having any luck. If anyone has any experiance with tricking the
web browser and more importantly the search crawlers into thinking that a
404 error page is an actual web page then please let me know how to
accomplish this.
At this point it is looking like I will be creating simple php pages
including the 404 script to pull the page from the database. This is going
to be very messy as a page must be created for every entry into the
database...
Thanks!
Ben
----- Original Message -----
From: "Ben Turner" <turnball_@hotmail.com>
To: <php-general@lists.php.net>
Sent: Tuesday, February 26, 2002 10:03 AM
Subject: Re: [PHP] changing the http status from file not found to....
> I guess if anyone knows of a place, is there a source on the web that
> details the headers sent to the page for valid pages???
>
> I checked php.net and nothing was there on the subject
>
> ----- Original Message -----
> From: "Ben Turner" <turnball_@hotmail.com>
> To: <php-general@lists.php.net>
> Sent: Tuesday, February 26, 2002 9:52 AM
> Subject: [PHP] changing the http status from file not found to....
>
>
> I have a php site that I am working on and I am using a 404 page to
display
> db contents. It works great in a web browser but it is still returning
> "HTTP_STATUS_NOT_FOUND" to a crawler when it crawls the site. Does anyone
> know if this can be changed from within the php to trick the crawler into
> thinking that it is an actual page??
>
> Or maybe its an Apache setting to fiddle with you think??
>
> Any help would be appreciated.... Thanks!
> Ben
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>