This may be the first non-partisan post I’ve published in this blog.
For webmasters, blog owners, php developers, or anyone who gets this error whey trying to share a post or article to Digg …
We can’t access your link or it doesn’t allow being crawled. If this is a mistake, let us know.
From what I’ve see in searches and forums, there are a lot of you who, like me, struggled with this issue. I may be able to share a solution to your Digg sharing problem if you happen to be using the plugin …
Bad Behaviour blocks Digg because, according to Michael Hampton, the plugin author:
Digg’s robot inappropriately uses a suspicious User-Agent string, rather than identifying itself as Digg, and therefore gets blocked by Bad Behavior. It has done so for some time. In order to use Digg, you will need to whitelist its IP address(es) or ask Digg to correct the problem with their robot.
However, the author has provided an option that you can use to allow Digg sharing.
Update – 4/3/2012:
The author has released a new version of Bad Behaviour since I first published this post, version 2.2.2, that requires different instructions for WordPress and non-WP apps.
In the new release, the author explains that the WordPress auto update process destroys the whitelist.ini file, so he setup a whitelist admin page where you can list the IPs to allow. For Digg, go to the Administration panel, Settings, Bad Behaviour Whitelist, section IP Addresses. Enter these two IPs for Digg (one per line) and click Update to save the settings.
Now you’ll be able to share WordPress posts with Digg.
There’s a file in your bad behaviour plugin directory named “whitelist.sample.ini”. Rename it to “whitelist.ini”. Open it with a text editor, like notepad. See the two Digg IPs listed? These statements allow sharing to Digg.
The only thing you need to change in the whitelist.ini file is to comment-out the last two lines by placing a semicolon in front of them, (the urls for example.php and open).
Save the file and ftp it to the bad behaviour folder on your server.
Refresh your browser page and re-try to share your post to Digg and it should work just fine.