Combat Spam Comments With .htaccess

I’ve already tried of spam comments. Then I googled a way to combat it.┬áBy disabling Direct Access to wp-comments-post.php with .htaccess , it may prevent some autobots sending spam comments to my blog.

Here is the code:

(Credit: Cats Who Code)

Hope this can also help you guys prevent spam comments.