Some days after you launch your website, you will notice a lot of comments from spam bots. These are very annoying and often target a certain post of the blog. The comment title consists of links and the body has some spam links and text. Spammers not only spam in comments they also steal your website content and spread it all over the web that is another reason why its important to protect wordpress from spam.
There are two kinds of method used by spammers:
Automated spam-bots : – Spammers use such as program and tools (robots) that can automatically submit large numbers of spam comment to numbers of blog in no time.
Manual Spam : -Well in this case spammers visit your site and manually post their spam comments in the comments field.
Spam Comments are a fact of life for bloggers, and no one can stop Spam Comments 100%, You can only minimize that to a lower level by using some tricks below to fight the spam on your wordpress website.
First thing you should is , install Akismet. Akismet is great plugin and is shipped with wordpress by default. You will need a key for it to work. Once you get the key , you are done. Be sure to have a look at spam comments sometimes. Akismet can sometime throw a valid comment into the spam queue. You can check here,
how to install the akismet plugin
2-Stop Access to Wp files through .htacess
There is another useful snippet which can be added to your .htaccess file to prevent spam bots from direclty accessing your wp-comments.php. Here is the code