In this chapter, we will learn how to protect your WordPress blog or website from spam. Make sure that your WordPress script is updated to the latest stable version. WordPress comes with a preinstalled antispam solution - Akismet.
You can activate Akismet, for which you should have a WordPress API key. You have to register at the official WordPress website. The key will be sent to your mail box.
Following are the steps to follow to enable Akismet Spam Protection plugin for your website or blog.
Step (1) − Go to your WordPress admin area → Plugins → Installed. The following screen will be displayed.
Step (2) − Click on Activate button as shown in the following screen.
Step (3) − The Akismet plugin will be activated and then Click on Activate your Akismet account button as shown in the following screen.
Step (4) − Click on Get your API key as seen in the following screen to get a new key or enter manually, if you already have API key.
Step (5) − If you don't have API key then, click on GET AN AKISMET API KEY tab to move further.
Step (6) − Fill up the required fields and click on Sign up button as shown in the following screen.
Step (7) − Once you complete with signup process. You will get an API key in your registered e-mail id. Enter API key manually and click on Use this key button as seen in the following screen.
Step (8) − If you have entered a correct API key, it will be verified and you will get a confirmation message as reflected in the following screen.
Step (9) − Now your blog will be protected from spam by Akismet. You will be able to check the comments in your blog for spam, as well as manually mark comments as spam from the blog admin area → Comments.
You can keep a track of how many spam posts have been stopped by Akismet and you can secure your posts, blogs, comments, etc. Furthermore, you can prevent your website from spammers, who can harm your site.