Blogging   Security   Site News  

Secure Your WordPress Contact Form: Block Spam Emails

Though many wordpress bloggers talked about email spam from wordpress contact forms, it was never a problem here… until yesterday. It seems someone found a security loophole in the php script that powered the contact form and my email inbox was filled with spam emails. It was time to upgrade to a more secure WordPress contact form.

If you can believe it, my current design is the outcome of hundreds (maybe thousands!) of edits to the original beautiful Blix wordpress theme and the Blix contact form (php script) is an inbuilt part of the blog. Now in a search to find a new contact form, a large number of contact form wordpress plugins were available.

Confused, I asked a friend who was using the WordPress Contact Form with Spam Protection by Douglas Karr. I installed the wordpress contact form in minutes, and the email spam stopped instantly.

Installation was very simple. Copy the plugin wp-contact-form folder to the plugin directory. Enable the plugin. Go to Options and customize it and change the challenge question and answer if you’d like (a simple math problem that stops spam easily. 2+2=4 kid stuff you say!).

I simply inserted a code into my contact page (by going to page editor) and all was working fine. Goodbye to email spam forever…. hopefully.

Here are some best practices for contact forms. Which wordpress contact form do you use for spam protection?


  1. Matt says:

    I use a plugin called “intouch”. No spam issues as of yet !

  2. jim says:

    the best solution is still akismet!
    it litterally stopped all the spam on my site

  3. QuickOnlineTips says:

    But Akismet will not stop spam from your contact form (it blocks comments spam). I am glad I secured my contact form. The spam emails from wordpress in my gmail is zero now. :-)

  4. zoel says:

    I think, Akismet make slow web connection ;-)

  5. jess says:

    Akismet is old, there are better things now a days, go to plugins and you will find some.

  6. Sad18 says:

    Britain was soon followed by the other countries of Europe. ,

  7. roelof says:

    What do you think about a contact form in Flash like ?

    I am using it on my sites and I have never received a spam email yet!

Leave a Reply

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