Pinterest Stumbleupon Whatsapp
Ads by Google

recaptcha embed response in pageAt the present time, I currently run about five blogs. I do it mostly because I love researching different topics. However, the single most annoying thing that I find myself being forced to deal with almost every single day are spam blog comments. These number from dozens to hundreds depending on the day.

Many bloggers or website owners that have commenting systems have to deal with this dilemma and I’m sure they share the same frustration. It seems that even if you’ve enabled comment moderation, that doesn’t stop spammers from automatically submitting garbage to your comments form. Last week, after spending a full 25 minutes deleting hundreds of spam comments from the moderation area, I decided that I’d had enough.


This is a dilemma that many website owners have to come to terms with. Do you require that commentators register to your site before commenting? That would completely shut down spam, but it would also virtually shut down commenting. Most people simply don’t want to take the time to register.

The only other solution that really works is one that many people are already turning to every day – using Captcha. There are a lot of decent Captcha script packages and plugins out there, but I think the best is one that was briefly noted in the MUO Directory a while back called ReCaptcha.

Use Captcha Or Not?

Now, a lot of site owners don’t want to use a Captcha system, because many of them are really annoying. Have you ever tried reading some of those “human-only readable” text smudges? The reason I like ReCaptcha is because it is not only really easy to install on a blog or a website, but the challenge is one that your readers will be able to fly through in seconds – but it’ll stop those stupid spammers cold in their tracks.

This was my comment form before installing ReCaptcha.

Ads by Google

recaptcha embed response in page

As you can see – no challenge at all, just a simple submission form with a “Submit Comment” button. Now, this wasn’t entirely my fault, because I downloaded a high-quality theme and this was the comments form that came with it – no anti-spam scripting included.

create a form with recaptcha

Because of that, the mess above is what I was faced with almost every week. Hundreds and hundreds of stupid, meaningless, annoying garbage comments. So, I decided it was high time for a Captcha system, and ReCaptcha is noted throughout the web as being one of the best ones out there. The real question is how difficult will it be to install, can I install the Recaptcha embed response in-page, and how functional is it?

The first step in setting it up is signing up and downloading the appropriate files for your situation – for WordPress that’s loading the wp-recaptcha folder into “wp-content/plugins“. ReCaptcha is available for WordPress, PHP, phpBB, Drupal, Joomla, Coldfusion, Java and all sorts of other platforms and programming environments. Read the intro page to learn more.

In every case, you’re going to have to sign up with a ReCaptcha account so that you can obtain a Public and Private key.

create a form with recaptcha

In WordPress, once you activate the plugin and go into the Recaptcha item under settings, you’ll discover how functional ReCaptcha really is. You’ll first need to fill in your public and private keys so the plugin will work.

recaptcha

You’ll notice that you can make ReCaptcha a bit less annoying for registered users by hiding it. It’ll also secure the registration form. Best of all, you can enable the MailHide feature, where ReCaptcha will convert every single email address published on your site into a link with the actual email address hidden – preventing the email address from getting lifted by spammers that crawl the net.

create a form with recaptcha

This is great for WordPress users, but what if you have a website written in PHP? The Recaptcha website details simple instructions for just about every setup you might face. For example, inserting ReCaptcha into a PHP page is as simple as adding this element to your form submission.

<form method=”post” action=”verify.php”>
<?php
require_once(‘recaptchalib.php’);
$publickey = “your_public_key”; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
<input type=”submit” />
</form>

Obviously, you’ll need to have the code for verify.php and the recaptchalib.php file uploaded, but all of that is provided in the download package. It’s very simple to install ReCaptcha on any site and on any platform. It’s so effective in fact that it’s the app recommended on the official Google Webmasters blog.

So, now that I’ve installed it, this is what the comments area now looks like.

Type in the wrong response, and the page simply reloads with the following error listed over the ReCapcha box.

recaptcha embed response in page

OK, it’s only been running for a little while, but while I used to receive dozens of spam messages a day, I haven’t received a single one yet. It is surreal. I have so much free time now, I might have to take up golf or something.

Do you use a spam-blocking tool or script on your own website? What’s your preference and why do you like it? Share your insight and tips in the comments section below.

  1. Lee
    February 6, 2016 at 1:48 am

    unfortunately it weeds out legit comments as well. Both recaptcha and disqus flag EVERY comment I post at mulitple websites. I even went to Disqus help page and posted for help. Even THAT they flagged as spam

  2. Kamagra Fast Delivery
    November 22, 2010 at 12:13 am

    Very Nice post.
    I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post !!!

    Kamagra

  3. miami personal injury lawyer
    November 18, 2010 at 9:22 pm

    Very inventive and imaginative, one of many nicer websites I have seen in the present day so far. Keep up the good work all the time

    Lawyer in Miami

  4. Terencebookmark
    November 17, 2010 at 8:36 pm

    An excellent resource of information I will certainly return to check on the latest posts
    pacquiao vs margarito video

  5. Fannemarrie
    October 29, 2010 at 5:54 pm

    ecaptcha is rapidly method to defand spam

  6. Fannemarrie
    October 29, 2010 at 5:43 pm

    useful tip thank uuu

  7. Fannemarrie
    October 28, 2010 at 7:48 pm

    Recaptcha is the great spam defandar.site worked great.

  8. Fannemarrie
    October 28, 2010 at 7:39 pm

    best tip thanks

  9. Nikita
    October 16, 2010 at 8:31 pm

    ugh i just started getting automated comment spam so i decided to google and your article came. Definitely bookmarking it. Thankyou for such a clear guide.

  10. Fannemarrie
    October 8, 2010 at 1:34 pm

    recaptcha is the good thing to avoid spam

  11. Fahad
    October 5, 2010 at 10:29 am

    recaptcha is a good method to stop spam

  12. Fran
    October 4, 2010 at 7:03 pm

    it is very useful by this we can stop spamming it is great

  13. mark
    October 4, 2010 at 4:16 pm

    it is really great article no doubt

  14. Myles Redinbo
    October 3, 2010 at 6:29 pm

    Pretty awesome post. I just came upon your website and wanted to point out that I've definitely enjoyed reading your website posts. I'll opt-in for your feed and I hope you publish another post again shortly!

  15. Jay Abel
    September 30, 2010 at 9:59 am

    This thing is pure evil. It prevented me from submitting a form for a quotation on some parts I was ordering, costing the vendor my business. After 6 tries and incoherent error messages, I finally gave up. After each try, the ENITRE form contents were reset and I had to enter them all over again. Pure -- evil.

  16. Mat
    September 27, 2010 at 5:12 pm

    You have to implement Recaptcha on your blog. Otherwise you are just asking for spam!

  17. exercises to lose belly fat
    September 21, 2010 at 3:48 pm

    great concept for writing...thanks for sharing

  18. newsupdate
    September 18, 2010 at 5:16 am

    Hello,
    Thank you for posting. I find on Google and see your blog, I like your post, i have bookmarked it.
    John Kent
    Author of http://mobile-4u.net

  19. seo
    September 18, 2010 at 2:49 am

    Very thoughtful point about home heating. I do agree we all have to look for long term solutions for our homes. That would be nice and cool though i think if we do that we need a lot of many.

  20. Abuse
    September 17, 2010 at 4:53 pm

    recaptcha is currently broken.

    if you're using it and you're not getting spammed this week, it's not because of recaptcha, it's because you are a low-value target.

  21. Abuse
    September 17, 2010 at 2:53 pm

    recaptcha is currently broken.

    if you're using it and you're not getting spammed this week, it's not because of recaptcha, it's because you are a low-value target.

  22. dz
    September 17, 2010 at 7:50 am

    Disqus will currently show recaptcha images for anonymous commenters who include a link in their comment: http://cl.ly/683e2e9cd68a53b5c...

    We've found that specific set of conditions will catch a ton of spam that somehow slips through our filters.

  23. Elliott
    September 13, 2010 at 8:11 pm

    Great article, have installed and had no spam for two days so far. Added link to this article in my blog.

    Thanks for sharing.

    @Philip - I use Askimet and still get spam, yeah it filters it but doesn't solve the whole problem

  24. Elliott
    September 13, 2010 at 6:11 pm

    Great article, have installed and had no spam for two days so far. Added link to this article in my blog.

    Thanks for sharing.

    @Philip - I use Askimet and still get spam, yeah it filters it but doesn't solve the whole problem

  25. reverse phone lookup
    September 12, 2010 at 3:20 pm

    I must say one thing...You are truly a good researcher

  26. Thoman
    September 11, 2010 at 11:07 am

    If your blog use wp, very easy install this plugin.

  27. Tudor
    September 11, 2010 at 2:58 am

    I'm using Spam Karma and Bad Behavior for more than 2 years now.

  28. Josh Fox
    September 10, 2010 at 6:23 pm

    I used reCAPTCHA on a Drupal site and it worked great. Now that I'm using WordPress though, I switched to Disqus for comments. Is there any way to integrate it with the Disqus service or do you think it would be needed?

    • Aibek
      September 12, 2010 at 4:58 pm

      I really doubt it's possible to integrate it with Disqus. Disqus is loaded from a remote server and doesn't let publisher add additional elements to the comments box.

      • dz
        September 17, 2010 at 5:50 am

        Disqus will currently show recaptcha images for anonymous commenters who include a link in their comment: http://cl.ly/683e2e9cd68a53b5c16a

        We've found that specific set of conditions will catch a ton of spam that somehow slips through our filters.

        • Aibek
          September 17, 2010 at 5:53 am

          oh yeah, my bad, it does show recaptcha for anonymous commenters.

  29. Brian
    September 10, 2010 at 5:23 pm

    I'm running WordPress w/ the Akismet plugin. From the dashboard of the sports blog on my site: "Akismet has protected your site from 10,248 spam comments already" This is since 12/09.

  30. Will Robinson
    September 10, 2010 at 5:19 pm

    Great Idea Ryan. Although, I still get ticked off when I have to bypass the things myself; let's just say that after a few of these things I know how a dyslexic feels (",)

  31. Ku
    September 10, 2010 at 4:54 pm

    Recaptcha is the best spam fighter.

  32. David
    September 10, 2010 at 4:46 pm

    excellent tip thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *