{"id":205,"date":"2009-01-25T20:22:12","date_gmt":"2009-01-25T20:22:12","guid":{"rendered":"https:\/\/www.mohanjith.net\/blog\/?p=205"},"modified":"2009-01-25T20:22:12","modified_gmt":"2009-01-25T20:22:12","slug":"my-fight-against-comment-spam-on-wordpress-blogs-smart-throttle","status":"publish","type":"post","link":"https:\/\/mohanjith.net\/blog\/2009\/01\/my-fight-against-comment-spam-on-wordpress-blogs-smart-throttle.html","title":{"rendered":"My fight against comment spam on WordPress blogs &#8211; Smart Throttle"},"content":{"rendered":"<p>My blog was hit with a comment spam flood which almost brought down the server under load. There were aproximately 30 bots continuously posting spam comments, geez don&#8217;t they realize that none of the comments get published. With all the writes to the database, my servers came to a crawling stop. I disabled comments for a while, until I figure out a means to prevent the spam messages from being posted. First option was CAPTCHA, I installed re-CAPTCHA WordPress plugin. This did reduce the spam but in an ugly way. I was thinking of a means to stop the nuisance spam without even writing to the database. Then I came accross <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/wp_throttle_comment_flood\" target=\"_blank\">this<\/a>, and gave me the idea for <a href=\"http:\/\/mohanjith.com\/wordpress\/smart-throttle.html\" target=\"_blank\">Smart Throttle<\/a> WordPress plugin. It&#8217;s very simple, depending on the rate of comments in the last hour by the user the comment flood time out will be automatically adjusted. Check out the <a href=\"http:\/\/mohanjith.com\/wordpress\/smart-throttle.html\" target=\"_blank\">plugin home page<\/a> for details how it&#8217;s done. The plugin is released under GPLv3. I have now disabled re-CAPTCHA plugin and so far things are looking good, most of the spam bots are lost in the you are posting too fast message \ud83d\ude09 . Give your blog a break with Smart Throttle.<\/p>\n<div id=\"fb-like\" style=\"\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https:\/\/mohanjith.net\/blog\/2009\/01\/my-fight-against-comment-spam-on-wordpress-blogs-smart-throttle.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:300px; height:30px\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>My blog was hit with a comment spam flood which almost brought down the server under load. There were aproximately 30 bots continuously posting spam comments, geez don&#8217;t they realize that none of the comments get published. With all the writes to the database, my servers came to a crawling stop. I disabled comments for &#8230; <a title=\"My fight against comment spam on WordPress blogs &#8211; Smart Throttle\" class=\"read-more\" href=\"https:\/\/mohanjith.net\/blog\/2009\/01\/my-fight-against-comment-spam-on-wordpress-blogs-smart-throttle.html\" aria-label=\"More on My fight against comment spam on WordPress blogs &#8211; Smart Throttle\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[143,126],"tags":[452,438],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-plugin","category-wordpress","tag-plugin","tag-wordpress"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lUHm-3j","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":1,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/205\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}