Adding reCAPTCHA to a wordpress contact form

Its easy to add recaptcha to contact form 7 plugin in wordpress. Follow these simple steps.

  • First you will need to register your domain for reCAPTCHA, so that you get a secret and key. All this is easy as long as you have a google account.
  • Head over to recaptcha and sign in, then add your domain
Registering domain for reCAPTCHA
  • Next, login to the wordpress admin area, contact->integrations->configure Keys.
  • Enter your secret and key from the reCaptcha service and click save.
  • Lastly, you need to add a tag to the contact 7 so that the reCAPTCHA “widget” is shown on the form. Go to Contact->contact form then edit the form and add a recaptcha tag.

Example tag: [recaptcha]

  • And your done, one only sends you a message after proving they are human.
Form with reCAPTCHA active