Comment Spam
-
It seems the auto-spammers have hit WP. They use programs like “Link Dump” to directly hit the wp-comments-post.php directly.
Many of my hosting clients are getting hit with over 3-4000+ pieces of comment spam a day – – including my own blog.
The moderation for spam is nice, including the filter list – however, when you’re getting that many spam hits in a day – you still get the emails and you still have to go in and delete the comments out of the queue — which is frustrating and timely.
The trick is to stop them from sending the spam in the first place:
Change the name of your wp-comments-post.php to something else – – I changed mine to something like: stopspam-post.php.
Then in your wp-comments.php template — look for this code:
<form action="<?php echo $siteurl; ?>/wp-comments-post.php" method="post" id="commentform">
And change the wp-commens-post.php to the file that you renamed it to.
For example, since I renamed my wp-comments-post.php to stopspam-post.php — that line in the wp-comments.php now looks like this:
<form action="<?php echo $siteurl; ?>/stopspam-post.php" method="post" id="commentform">
On a day that I was getting hit with over 4000 spam hits, the very minute I did this – it stopped and they haven’t returned. It doesn’t stop the one time spammer who actually clicks your comments link and manually enters their spam – – but those guys are easier to maintain than these autospammers.
- The topic ‘Comment Spam’ is closed to new replies.