Bad Behavior conflicts with Digg

I use Bad Behavior and Akismet on this blog to control spam and, while the solution works splendidly, it isn't without the occasional hiccup.

Yesterday, Corban Baxter alerted me that he couldn't digg my startling exposé of Apple's upcoming flying MacBook Pros (thanks, Corban!). Googling around this morning, I found that the problem was being caused by Bad Behavior, not Wordpress. Or, more specifically, according to the author of Bad Behavior, it is a problem with Digg's crawler.

The solution to getting Digg working with Bad Behavior is to simply add the Digg crawler's IP address (64.191.203.34) to the Bad Behavior whitelist file (whitelist.inc.php) as shown below:

$bb2_whitelist_ip_ranges = array(
    "10.0.0.0/8",
    "172.16.0.0/12",
    "192.168.0.0/16",
    "64.191.203.34",
//  "127.0.0.1",
);

Comments