Simple Wordpress Spam Blocking

I’m not sure how many of you who read this are bloggers, but if you are then you’ll agree that spam is a huge problem. I absolutely hate how all my comment boxes have to be cleared out by me every so often.

No, I don’t want to learn about penis enlargement in my comment boxes!

I installed a spam blocking tool for this site that uses something called Captcha. Captcha is the technique of generating a random number of strings on an image, and skewing the image and asking the user to input what he sees. An example would be to ask you to input the following text from this image to verify that you’re not a spam bot:

Captcha.jpg


The only problem with Captcha is that sometimes it’s really hard to read the words. What’s worse, is that spam bots are evolving to the point where they can now read some of the Captcha images generated, completely bypassing it altogether.

So the Captcha tool I installed earlier wasn’t effective at all… I still got spam.

Frustrated, it took me 3 seconds to realize I don’t any fancy Captcha tools and whatnot. All I need to do is to make sure whoever comments on my blog to input a string in which only a human being could do. So I plugged in some code into my comments section that asks for users to enter in LeeMobile. Spam bots can’t understand semantics… they can only do what’s programmed of them. So they can’t read the sentence to tell them to input “LeeMobile” to proceed.

Fancy schmancy spam blocking? Who needs it! For all you bloggers out there, give this one a try. Post a comment and checkout my simple homebrewed spam blocker in action.

4 Responses to “Simple Wordpress Spam Blocking”

  1. Jay Says:

    PENIS!

    HA! Didn’t work.

  2. sami Says:

    strange… I dont get lot of span on my blog, could it be that i am hosting with wordpress or that i hasnt been up for long ?

  3. Lee Says:

    Hey Sami. I’m not sure. I’m guessing it’s more likely you’re not getting spammed because you are hosting with Wordpress.

    Yea, I had to be all snooty and get my own domain.

  4. sami Says:

    Ok so now I am getting spammed :)

    I started another ‘Tech’ blog, hosted under a coworkers domain. So was wondering if you clever spam blocking is working. And if I could borrow it :)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>