WordPress anti-spam hack
I'm not yet sure how effective this is, but I just noticed that DreamHost's 1-click install of WordPress includes a hack that they claim helps protect your blog against comments spam. The added code is contained at the top of the wp-comments-post.php file:
if (!$_SERVER['HTTP_REFERER'] == dirname(__FILE__) . '/wp-comments.php'){ die ('Error: This file cannot be […]















