Defeating Comment Spam With Akismet
June 9, 2010
No comments
Today while at work, my HTC Hero started flashing incessantly as I received email after email about moderating “new blog comments”. Normally I’d welcome such an occurrence but in this case every single one was spam.
I thought, “No problem, I’ll just look at the IP and block that IP”. Unfortunately, each of the messages was somehow coming from a different IP! Perhaps they were being generated from a network of spambots, or perhaps a lot of people suddenly hate me. Regardless, I wanted it to stop.
This is when I came across the free Akismet WordPress plugin. You can of course read about it at the official website or at Wikipedia. But what you really need to know is:
- It does a great job at marking comments as spam in a similar manner to GMail. Anything mis-categorized can be unmarked as spam and the filters supposedly get smarter.
- It is automatically included (but deactivated by default) with WordPress for all WordPress versions since 2.0.
Installing
- All you need to do is goto Admin, click on Plugins, find Akismet, and click on Activate.
- After the plugin is activated, click on edit.
- There will be a box asking for your API Key, with a link on top which you can click on to get your new API key. Click the link.
- You are taken to the Akismet website, where they ask you for your email address and username. Follow the listed steps, and await an email.
- Read the email, click on the link to verify your email address.
- Take the provided API Key and copy it into the box from step 3.
- Rejoice in the lack of spam!
Checking for Mis-categorized Messages
- Login to Admin.
- Click on Comments.
- Choose the Spam category.
- If you see a mis-categorized message, hover over the content and click on Not Spam.
Comments
Leave a comment Trackback