Chances are you’ve heard the term Akismet before in the context of preventing WordPress blog spam. So what is Akismet exactly? Akismet is a powerful tool in the fight WAR against comment spam and trackback spam. This isn’t your ordinary anti-spam plugin that just adds a simple image code which supposedly verifies if the commentor is a “human” or not. The truth is, spam bots are getting more and more sophisticated by the day, and who knows? They may even be able to circumvent your CAPTCHA code and spam you like crazy. What Akismet does is different.

In this tutorial we’ll go over how to set up Akismet on your WordPress blog, step by step. This quick guide will show you how to activate the plugin and sign up for an API key to use it. Start experiencing the benefits of Akismet and read on.

With Akismet enabled on your WordPress blog, each comment will be submitted to the Akismet web service which will run hundreds of tests on said comment to check it for “spammy” characteristics. If it gets the thumbs down, the comment is automatically marked as spam and is placed in your spam section of your comment moderation panel. All of this is done behind the scenes, so a legitimate commenter wouldn’t even be able to tell the difference.

Installing the plugin

You most likely already have this plugin uploaded to your blog, since it is bundled with all the latest WordPress releases. If you don’t have it, download it, and install it. After activating, you should see a screen like this.

Akismet Installed

You’ll see a pretty annoying red message that says “Akismet is almost ready. You must enter your WordPress.com API key for it to work.” each time you load any page in your WordPress administration panel, until you actually get an API key.

To get an API key, you have to get a username at WordPress.com first. Fill in all of the fields, and make sure you have a valid e-mail address, since that’s how they send you the API key.

Akismet API Signup

You don’t need to have a WordPress.com hosted blog to get an API key, so just select the username only option. You should receive your personal Akismet API key via e-mail momentarily after submitting. Input this key into your WordPress admin panel like so:

Akismet Key Verified

If everything goes well, you’ll have a nice green message which looks like this:

Your key has been verified. Happy blogging!

That’s it. Now just sit back, relax, and let Akismet take care of your comment and trackback spam. Of course this isn’t 100% foolproof. Sometimes genuine non-spam comments get flagged and sometimes blatant spam attempts don’t get flagged. Of course you can always go back into your Akismet flagged comments and approve them. The good thing about Akismet though is you just set it and forget it. The guys at Automattic take care of everything and stay on top of the latest spamming techniques. Either way it’s always a good idea to moderate your comments manually. Consider Akismet your first line of defense.

If you like this guide, feel free to comment and share. Subscribe to the feed for the latest Theme Lab updates. Thanks for reading.

Subscribe to RSS

By: Leland on Mar. 15

Bookmark and Share

7 Comments »

Comment by midomssh
2008-03-15 08:11:42

i hate spammers when they are spamming my blog with many urls more than 10 urls with no single comment make me feel mad thanks for sharing

 
Comment by I-martian
2008-03-15 11:09:44

nice tutorial , and if you checked many of other newbie posts you’ll find it all bout

HOW CAN WE GET THAT API :)

 
Comment by Leland
2008-03-15 11:26:29

@midomssh: In Options -> Discussion you can actually set a number of acceptable links before the comment is marked as spam.

Thanks for commenting.

 
Comment by Jon
2008-03-16 16:34:39

Checkout Defensio (http://defensio.com), it’s much better than akismet. it’s also easier to use.

 
Comment by Leland
2008-03-16 20:18:27

@Jon: Hmm…I’ve never heard of Defensio. Thanks for sharing, looks pretty cool.

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Recent Comments

  • Andrea: There we go - thanks. :) Can’t wait to try this out.
  • Pete: Brilliant!
  • Leland: Really sorry about that! Download link fixed. I had forgotten to add the file to the download manager. @Anto:...
  • Robin: Hi Leland, i think this is a cool theme. Really like it. However, seems like you put a wrong download link?...
  • Anto: This is nice and clean i love it. Will the dude be releasing more templates? Nice port non the less man, keep...

About The Author

Welcome to Theme Lab. My name is Leland, and I run the place. I write all the tutorials and code all the themes you see here on the site.

For more information about me, feel free to read the about page. If you want to drop me a message, feel free to contact me.

Interested in advertising on Theme Lab? We have advertising available at very reasonable rates. Head on over to the advertising page for further details.

Please read our Privacy Policy and Terms of Service in regards to theme usage.

© 2008 - Theme Lab - Powered by WordPress