{"id":7014,"date":"2020-01-09T10:20:08","date_gmt":"2020-01-09T10:20:08","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=7014"},"modified":"2022-02-15T13:05:27","modified_gmt":"2022-02-15T13:05:27","slug":"learn-to-add-captcha-to-protect-your-magento-site","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/","title":{"rendered":"Learn to add CAPTCHA to protect your Magento Site"},"content":{"rendered":"<p>If you have an eCommerce Magento site, then CAPTCHA will surely help you to protect the site from spamming by bots and other malicious players. This article describes how to add CAPTCHA protection to your Magento site.<\/p>\n<h3># Steps to enable CAPTCHA protection for the administration login page<\/h3>\n<p>Magento 2 and 1.9 allows you to add CAPTCHA protection for the administration login page, but it is disabled by default. So, enable the CAPTCHA protection for the administration login page, perform the following steps :<\/p>\n<p><strong>For Magento 2<\/strong><\/p>\n<p>1) Using your <strong>administrator<\/strong> account login to <strong>Magento<\/strong>.<\/p>\n<p>2) On the left-hand sidebar, identify and click on <strong>Stores<\/strong>.<\/p>\n<p>3) Go to<strong> Settings<\/strong> and under it click on <strong>Configuration<\/strong>.<\/p>\n<p>4) Now click on <strong>ADVANCED<\/strong> and then click on <strong>Admin<\/strong>.<\/p>\n<p>5) After that click on <strong>CAPTCHA<\/strong>.<\/p>\n<p>6) In the list box to <strong>Enable CAPTCHA<\/strong> in Admin, select <strong>Yes<\/strong>. After this, additional configuration options will appear :<\/p>\n<p>\u2022 In the list box for <strong>Font<\/strong>, select the font that you want to appear in the <strong>CAPTCHA<\/strong>.<\/p>\n<p>\u2022 In the <strong>Forms<\/strong> box, select the form that you want to protect. Here you have the authority to select the administrator login page and the page that appears when a user click on the <strong>Forgot your password?<\/strong> link on the login page.<\/p>\n<p>\u2022 If you want to appear CAPTCHA always on the login page, then in the <strong>Displaying Mode<\/strong> list box, select <strong>Always<\/strong>. Alternatively, if you wish CAPTCHA to appear <strong>only after a specific number of failed login attempts<\/strong>, then select the <strong>After number of attempts to login<\/strong>.<\/p>\n<p>\u2022 You can also use the remaining configuration options to change the CAPTCHA&#8217;s appearance and functionality.<\/p>\n<p>7) Click on <strong>Save Config<\/strong>.<\/p>\n<p><strong>For Magento 1.9<\/strong><\/p>\n<p>Perform the following steps to enable CAPTCHA protection for the administration login page on Magento 1.9 :<\/p>\n<p>1) Using the <strong>administrator<\/strong> account log in to <strong>Magento<\/strong>.<\/p>\n<p>2) On the top menu bar, click on <strong>System<\/strong> and then on<strong> Configuration<\/strong>.<\/p>\n<p>3) On the left side in the <strong>Configuration<\/strong> pane, scroll down to the page and identify <strong>Advanced<\/strong>, under it click on <strong>Admin<\/strong>.<\/p>\n<p>4) Now click on <strong>CAPTCHA<\/strong>.<\/p>\n<p>5) In the list box to <strong>Enable CAPTCHA in Admi<\/strong>n, select <strong>Yes<\/strong>. After this, additional configuration options will appear :<\/p>\n<p>\u2022 In the list box for <strong>Font<\/strong>, select the type of font that you want to appear in the CAPTCHA.<\/p>\n<p>\u2022 In the box for <strong>Forms<\/strong>, select the forms that you want to protect. Here you have the authority to select the administrator login page and the page that appears when a user clicks on the <strong>Forgot your password?<\/strong> link on the login page.<\/p>\n<p>\u2022 If you want the CAPTCHA to always appear on the login page, then in the <strong>Displaying Mode<\/strong> list box, select <strong>Always<\/strong>. Alternatively, if you wish to appear CAPTCHA <strong>only after a specific number of failed login attempts<\/strong>, then select <strong>After number of attempts to login<\/strong>.<\/p>\n<p>\u2022 You can also use the remaining configuration options to change the CAPTCHA&#8217;s appearance and functionality.<\/p>\n<p>6) Click on <strong>Save Config<\/strong>.<\/p>\n<h3># Steps to add CAPTCHA protection to the contact us page<\/h3>\n<p>You can not only protect the administration login page but can also protect the Contact Us page. The Contacts Form CAPTCHA extension is free and allows you to do so.<\/p>\n<div style=\"background-color: #e0ffff; padding: 10px;\">\n<p><strong>Note :<\/strong><\/p>\n<p>CAPTCHA protection to contact us page applies to <strong>Magento 1.9 and older versions only<\/strong>. Magento 2 doesn&#8217;t support it yet.<\/p>\n<p>The Contacts Form CAPTCHA uses Google&#8217;s reCAPTCHA service. Before installing the Contacts Form Captcha in Magento, you first need to sign up for a Google reCAPTCHA account if you do not already have one. You can do this by visiting &#8211; <a href=\"https:\/\/www.google.com\/recaptcha\/intro\/v3.html\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.google.com\/recaptcha<\/a>.<\/p>\n<\/div>\n<p>Perform the following steps to add CAPTCHA protection to the contact form of your Magento site :<\/p>\n<p>1) Through your web browser visit the <strong>Contacts Form Captcha<\/strong> page at<br \/>\n<a href=\"https:\/\/marketplace.magento.com\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/www.magentocommerce.com\/magento-connect\/contacts-form-captcha.html<\/a><\/p>\n<p>\u2022 Click on <strong>Install Now<\/strong>.<\/p>\n<p>\u2022 Select the <strong>Magento Connect 1.9<\/strong><\/p>\n<p>\u2022 After it, tick the checkbox for <strong>I agree to the extension license agreement<\/strong> and then click on <strong>Get Extension Key<\/strong>.<\/p>\n<p>\u2022 Click on <strong>Select Key<\/strong>, and copy the text in the text box.<\/p>\n<p>2) As an<strong> administrator<\/strong> login to your <strong>Magento<\/strong> site.<\/p>\n<p>3) On the menu bar at the top, click on <strong>System<\/strong>. After this under <strong>Magento Connect<\/strong>, click on <strong>Magento Connect Manager<\/strong>.<\/p>\n<p>4) Now under the <strong>Install New Extensions<\/strong> section, go to the <strong>Paste extension key<\/strong> to install text box, and paste the extensions key that you have obtained in <strong>step 1<\/strong>. Click on <strong>Install<\/strong>.<\/p>\n<p>5) Once Magento Connects completes the downloading of extension, click on <strong>Proceed<\/strong>.<\/p>\n<p>6) Click on <strong>Refresh<\/strong>. Under the <strong>Manage Existing Extensions<\/strong> section, you should see <strong>contactsformcaptcha<\/strong> in the list of extensions.<\/p>\n<p>7) At the top of the page click on <strong>Return to Admin<\/strong>.<\/p>\n<p>8) Click <strong>System<\/strong> present on the top menu bar and then click on <strong>Contacts<\/strong>.<\/p>\n<p>9) On the left side of the <strong>Configuration<\/strong> pane, under <strong>General<\/strong>, click <strong>Contacts<\/strong>.<\/p>\n<p>10) Click <strong>Contacts Form Captcha<\/strong> :<\/p>\n<p>\u2022 In the list box for <strong>Enable Captcha<\/strong>, select <strong>Yes<\/strong>.<\/p>\n<p>\u2022 In the text box for<strong> Public Key<\/strong>, type your <strong>Google reCAPTCHA<\/strong> site key.<\/p>\n<p>\u2022 In the text box for <strong>Private Key<\/strong>, type your <strong>Google reCAPTCHA<\/strong> secret key.<\/p>\n<p>\u2022 In the list box for <strong>reCaptcha Theme<\/strong>, select the theme that you wish to use for the CAPTCHA interface.<\/p>\n<p>\u2022 In the list box for <strong>reCaptcha Language<\/strong>, select the language that you want to use for the CAPTCHA interface.<\/p>\n<p>11) Click on <strong>Save Config<\/strong>.<\/p>\n<p>12) Using your web browser visit the <strong>Contact Us<\/strong> page. You can see that the CAPTCHA appears above the <strong>SUBMIT<\/strong> button.<\/p>\n<p>That&#8217;s it!<\/p>\n<p><strong>Also Read :<\/strong><\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/reset-the-password-magento-admin-panel\/\" target=\"_blank\" rel=\"noopener\"><strong> \u00a0How to reset the password for Magento admin panel?<\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-enable-a-theme-for-my-magento-mobile-website\/\" target=\"_blank\" rel=\"noopener\"><strong> \u00a0Learn to Enable a Theme for My Magento Mobile Website<\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-theme-magento-website\/\" target=\"_blank\" rel=\"noopener\"><strong> \u00a0How To Install A Theme In Magento Website ?<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have an eCommerce Magento site, then CAPTCHA will surely help you to protect the site from spamming by bots and other malicious players. This article describes how to add CAPTCHA protection to your Magento site. # Steps to enable CAPTCHA protection for the administration login page Magento 2 and 1.9 allows you to [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[1201,670,1200,1199,204],"class_list":["post-7014","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-add-captcha-to-magento-site","tag-captcha-protection","tag-captcha-to-magento","tag-configure-magento-site","tag-magento"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"A guide that defines how to add CAPTCHA protection to your Magento site.\" \/>\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.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"A guide that defines how to add CAPTCHA protection to your Magento site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-09T10:20:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-15T13:05:27+00:00\" \/>\n<meta name=\"author\" content=\"Sonam Wagh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonam Wagh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/\",\"name\":\"Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2020-01-09T10:20:08+00:00\",\"dateModified\":\"2022-02-15T13:05:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"description\":\"A guide that defines how to add CAPTCHA protection to your Magento site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learn to add CAPTCHA to protect your Magento Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\",\"name\":\"Sonam Wagh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g\",\"caption\":\"Sonam Wagh\"},\"description\":\"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/sonam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb","description":"A guide that defines how to add CAPTCHA protection to your Magento site.","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.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/","og_locale":"en_GB","og_type":"article","og_title":"Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb","og_description":"A guide that defines how to add CAPTCHA protection to your Magento site.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2020-01-09T10:20:08+00:00","article_modified_time":"2022-02-15T13:05:27+00:00","author":"Sonam Wagh","twitter_misc":{"Written by":"Sonam Wagh","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/","name":"Learn to add CAPTCHA to protect your Magento Site - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2020-01-09T10:20:08+00:00","dateModified":"2022-02-15T13:05:27+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"description":"A guide that defines how to add CAPTCHA protection to your Magento site.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-add-captcha-to-protect-your-magento-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Learn to add CAPTCHA to protect your Magento Site"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4","name":"Sonam Wagh","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g","caption":"Sonam Wagh"},"description":"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/sonam\/"}]}},"views":545,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=7014"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7014\/revisions"}],"predecessor-version":[{"id":13486,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7014\/revisions\/13486"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=7014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=7014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=7014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}