[wp-hackers] Custom DB error page

Computer Guru computerguru at neosmart.net
Mon Mar 10 05:38:52 GMT 2008


On 3/9/08, Joost de Valk <joost at joostdevalk.nl> wrote:
> Hi everyone,
>
>  I was playing around with the custom DB error page, and found out that
>  it gives a 200 OK header by default, even though it, for instance,
>  can't connect to the database... Now I can hardcode the error 500 into
>  the error page, but my guess is this should be solved or at least
>  documented elsewhere? Not giving a 500 error results in the risk of
>  search engines indexing your error page...

Definitely true.

This was supposedly fixed a while back though:
http://trac.wordpress.org/ticket/3471
http://trac.wordpress.org/ticket/2409

I wonder.


-- 
Mahmoud Al-Qudsi
Director,
NeoSmart Technologies
http://neosmart.net/blog/


More information about the wp-hackers mailing list