[wp-hackers] Detecting the present botnet attacks

John Blackbourn johnbillion+wp at gmail.com
Thu Jul 11 08:26:18 UTC 2013


On 11 July 2013 07:14, Jeff Morris <wp-hackers at zipsbazaar.co.uk> wrote:
> First, a real HTTP 500 code indicates a fatal internal server error that
> could result from anything, such as a typo in your .htaccess. In your case
> no such error has occurred, so the 500 code is at best untrue.

FYI you can pass a different HTTP status code to wp_die() in the $args
parameter. Example:

wp_die( 'Sorry, this service is unavailable', get_bloginfo('name'),
array( 'response' => 503 ) );


More information about the wp-hackers mailing list