{"id":2423,"date":"2017-09-07T13:02:35","date_gmt":"2017-09-07T17:02:35","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?p=2423"},"modified":"2022-10-07T11:11:54","modified_gmt":"2022-10-07T15:11:54","slug":"using-recaptcha","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/","title":{"rendered":"Using reCAPTCHA"},"content":{"rendered":"\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a><\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Defining CAPTCHA<\/h3>\n\n\n\n<p>A CAPTCHA (Completely Automated Turing Test To Tell Computers and Humans Apart) is an application that tries to tell the difference between a human and a computer. These applications are widely used to help prevent spam because it will prevent junk e-mail programs called spam bots to send messages or fill out forms. However, it will allow human users to proceed in sending the e-mail or fill out the form.<\/p>\n\n\n\n<p>A CAPTCHA presents the user with a couple different words or character strings that the user then has to then retype into a text field. If the user is human, this request does not pose a problem. On the other hand, if the user is a spambot, then it will not be able to \"read\" the CAPTCHA and will be stopped in its tracks.<a name=\"definingR\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Defining reCAPTCHA<\/h3>\n\n\n\n<p>reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books. reCAPTCHA also conforms to Section 508 in the United States by providing an audio version of reCAPTCHA for visually-impaired individuals.<a name=\"settingUp\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting Up and Using reCAPTCHA<\/h3>\n\n\n\n<p>You can implement reCAPTCHA on your site by following the instructions below:<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">At this time, our services are only compatible with reCAPTCHA v2. Be sure to select the v2 type of reCAPTCHA during setup. <\/p>\n\n\n\n<ol><li>Visit <a href=\"https:\/\/www.google.com\/recaptcha\/intro\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google's reCAPTCHA site<\/a><\/li><li>Sign-up for a reCAPTCHA account (it's free)<\/li><li>Enter the domain name you wish to use<\/li><li>Write down your public and private key<\/li><li>Log into your\u00a0<a href=\"https:\/\/www.pair.com\/support\/kb\/connecting-with-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Web hosting account via SSH<\/a><\/li><li>Run the following command in the directory where your website's files reside <pre>\u00a0cp \/usr\/www\/cgi-bin\/recaptcha_formmail.pl .<\/pre> <\/li><li>Open the file up and replace \"<span style=\"font-family: monospace;\">your_private_key_goes_here\"<\/span> with your private key. Make sure you don't go below the line that says \"DO NOT EDIT BELOW THIS LINE.\"<\/li><li>Set up your formmail form as described in <a href=\"https:\/\/www.pair.com\/support\/kb\/using-formmail-pl\/\">our formmail article<\/a> with the following two changes:<\/li><li>Call your edited version of recaptcha_formmail.pl instead of \/cgi-bin\/formmail.pl (in the &lt;FORM> action)<\/li><li>Paste the following code into the closing &lt;\/head> tag of the HTML page that contains your form: <pre class=\"prettyprint\">&lt;script src='https:\/\/www.google.com\/recaptcha\/api.js '>&lt;\/script><\/pre> <\/li><li>Then, paste the following code at the end of the &lt;form> where you want the reCAPTCHA widget to appear: <pre class=\"prettyprint\">&lt;div class=\"g-recaptcha\" data-sitekey=\"your_site_key\">&lt;\/div><\/pre> <\/li><li>Replace <span style=\"font-family: monospace;\">your_site_key<\/span> with your actual site key<\/li><\/ol>\n\n\n\n<p>If you're concerned about using Javascript version of the widget, you can set up a reCAPTCHA widget without Javascript. Check out how to do this by going to the <a href=\"https:\/\/developers.google.com\/recaptcha\/docs\/faq#does-recaptcha-support-users-that-dont-have-javascript-enabled\">reCAPTCHA FAQ page<\/a> and following their instructions.<\/p>\n\n\n\n<p>More information on implementing reCAPTCHA on your site can be found on <a href=\"https:\/\/developers.google.com\/recaptcha\/intro\">reCAPTCHA's resources page.<\/a><\/p>\n\n\n\n<p>The Perl, PHP, Ruby, and Python interfaces to reCAPTCHA mentioned on this resource page are installed on all Pair Networks servers for your use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Defining CAPTCHA A CAPTCHA (Completely Automated Turing Test To Tell Computers and Humans Apart) is an application that tries to tell the difference between a human and a computer. These applications are widely used to help prevent spam because it will prevent junk e-mail programs called spam bots to send&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[175],"ht-kb-tag":[178,176,177],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using reCAPTCHA - Knowledge Base - Pair Networks<\/title>\n<meta name=\"description\" content=\"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using reCAPTCHA - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-07T15:11:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/\",\"name\":\"Using reCAPTCHA - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2017-09-07T17:02:35+00:00\",\"dateModified\":\"2022-10-07T15:11:54+00:00\",\"description\":\"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using reCAPTCHA\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using reCAPTCHA - Knowledge Base - Pair Networks","description":"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/","og_locale":"en_US","og_type":"article","og_title":"Using reCAPTCHA - Knowledge Base - Pair Networks","og_description":"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.","og_url":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2022-10-07T15:11:54+00:00","twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/","url":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/","name":"Using reCAPTCHA - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2017-09-07T17:02:35+00:00","dateModified":"2022-10-07T15:11:54+00:00","description":"reCAPTCHA is a CAPTCHA program that does not display random words or character strings but instead presents words that assist in the digitizing of physical books.","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/using-recaptcha\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"Using reCAPTCHA"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2423"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=2423"}],"version-history":[{"count":15,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2423\/revisions"}],"predecessor-version":[{"id":8960,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2423\/revisions\/8960"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=2423"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2423"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}