Mbrsolution

Web Developing / Computer Repairs Brisbane
  • Home
  • Blog
  • Comment subscriptions
  • Contact Mbrsolution
  • Search My Site
  • Web Tutorials
    • Joomla Tutorials
    • KompoZer Tutorials
    • WordPress CMS Tutorials
      • WordPress Plugins Tutorials
        • WordPress Fast Secure Contact Form Plugin
        • WP CataBlog Plugin Tutorials
      • WordPress Theme Tutorials
        • Template Toaster Software WordPress
        • Suffusion Theme Tutorials
  • WordPress Web Site Design
Home » WordPress » AIOWPS And WooCommerce Captcha Settings

AIOWPS And WooCommerce Captcha Settings

 WordPress
Sep 252019
 

AIOWPS And WooCommerce Captcha Settings shows you how to set up AIOWPS captcha with WooCommerce plugin and more.

Last Updated: December 12, 2022

Latest News: Updated the documentation.

It is important to add good security to your WooCommerce online store. Adding captcha to the login, registration and password reset forms will increase your security and prevent fake logins from hackers.

The following documentation shows you how to enable captcha security for WooCommerce login, registration and password reset forms. There is also an option in AIOWPS that allows you enable captcha for comments in your site. This is another effective way to add “Brute Force” prevention techniques to your site.

If you enable Google reCAPTCHA the reCAPTCHA widget will be displayed for all the different forms the captcha is enabled in the settings below. If Google reCAPTCHA is disabled, simple math captcha form will be applied instead. Users will need to enter the correct captcha answer to a simple mathematical question, before they are allowed to log in.

Note: Currently you have the option of using either Google reCAPTCHA v2 or a plain math captcha form except for user registration page and comment form that only accepts plain math captcha. Google invisible or V3 is not yet supported.

Plugins / Themes Versions Tested:

  • WooCommerce version 4.2.1
  • Storefront version 2.5.7

 What you need:

  • All In One WP Security And Firewall
  • WooCommerce

AIOWPS And WooCommerce Captcha Settings

Step 1 ) Go to WP Security -> Brute Force admin tab as illustrated in the image below.

all-in-one-wp-security-brute-force-menu

===============================

Step 2 ) Go to WP Security -> Brute Force -> CAPTCHA Settings tab to set up the login captcha as illustrated in the following image.

CAPTCHA Settings Options

  • No CAPTCHA
  • Google reCAPTCHA V2
  • Simple Math CAPTCHA

all-in-one-wp-security-firewall-captcha-settings

===============================

Google reCAPTCHA Settings

Step 3 ) The following image Google reCAPTCHA V2 is displayed if you select Google reCAPTCHA as default. This allows you to enter the following options.

Google reCAPTCHA V2 Settings

  • Use Google reCAPTCHA V2 as default:
  • Site Key:
  • Secret Key:

all-in-one-wp-security-firewall-brute-force-google-recaptcha-keys

===============================

WooCommerce Forms Captcha Settings

Step 4 ) The following image WooCommerce Forms Captcha Settings allows you to set up the following options.

Note:  There is a check set up in the plugin to ensure that WooCommerce captcha settings are only displayed if WooCommerce plugin is installed and activated. If WooCommerce plugin is not activated, these settings will not show up.

WooCommerce Forms Captcha Settings

  • Enable Captcha On Woocommerce Login Form: = This feature allows you to add a captcha form to the WooCommerce login page.
  • Enable Captcha On Woocommerce Lost Password Form: = This feature allows you to add a captcha form to the WooCommerce password reset form.
  • Enable Captcha On Woocommerce Registration Form: = This feature allows you to add a captcha form to the WooCommerce registration page.

all-in-one-wp-security-firewall-woocommerce-forms-captcha-settings

Comment SPAM

Step 5 ) Go to WP Security -> Spam Prevention -> Comment SPAM as illustrated in the image below.

This feature will add a simple math captcha field in the WordPress comments form in your site. Adding a captcha field in the comments form is a simple way of reducing SPAM comments from bots without using .htaccess rules.

Add Captcha To Comments Form

  • Enable Captcha On Comment Forms: = Note: Check Step 5-d ) below to view the captcha field displayed in the product rating review.

WooCommerce Login / Registration / Password Reset

The following images display the captcha math field using WooCommerce default Storefront theme. If you use a different theme, make sure you carry out some testing before enabling AIOWPS captcha above.

Step 5-a ) The following image shows you the WooCommerce registration form with the simple math captcha field added.

aiowps-woocommerce-registration-page-captcha-form-displayed

Step 5-b ) The following image shows you the WooCommerce login form with the simple math captcha field added.

aiowps-woocommerce-login-page-captcha-form-displayed

Step 5-c ) The following image shows you the WooCommerce lost password reset form with the simple math captcha field added.

aiowps-woocommerce-password-reset-page-captcha-form-displayed.

Step 5-d ) The following image shows you the WooCommerce product rating review with the simple math captcha field added.

Rename WordPress Login Page

Step 6 ) To prevent your online registered users from accessing your WordPress site admin panel, check the following link All In One WP Security And Firewall Brute Force. This adds more security to your WordPress site and separates the online store with WordPress admin panel.

Note: The secret word set up in the link above is not revealed in WooCommerce login, registration or password reset forms.

Troubleshooting Captcha

====================

Q1 How do I change captcha background and letters colours?

Solution One: The following is an example:

.aiowps-captcha-equation{
	background-color:white;
	color: black;
}

Insert the above code using either a custom css plugin or put it in your theme’s css file. (Change the colours to suit your needs) (Solution provided by wpsolutions.)

====================

Q2 The database is full of transient data entries when the Captcha feature is enabled in the login page. How do I clear all transient data accumulated in the database?

Solution One: AIOWPS plugin has a code which will automatically clean up the old transient entries created by captcha feature. The code is triggered once daily via a wp cron event. You can try a simple test if you wish to confirm whether cleanup code is working. The cron job name is aiowps_hourly_cron_event.

  1. First log into you DB via phpMyAdmin in an Apache server and observe how many transient entries you have in the wp options table with the following “aiowps_captcha” in the option name.
  2. Next, from your wp admin panel deactivate and reactivate the AIOWPS plugin.  (this will trigger the daily cron job which will run the transient cleanup code) Note: The following plugin WP Control allows you to run and manage cron jobs in your site. This is useful if you don’t have access to your server.
  3. Then check your DB again to see if the old captcha transients were deleted. (If they are then you now that the cron job is working correctly in your site.)
  4. I recommend that you hide your login page via one of the brute force features. This should limit the amount of transient entries produced by the captcha feature.

====================

Q3 The captcha answer is always incorrect. So when you deactivate the plugin by renaming the folder and then logging into the WP admin panel, you get logged out of the WP admin panel immediately after re-activating the AIOWPS plugin again?

Solution One: PLEASE follow the instructions below carefully.

  1. login to your DB using PHPMyAdmin
  2. Go to the wp_options table
  3. Look for the entry which has option_name equal to “aio_wp_security_configs”
  4. Copy the option_value and paste it in a text document in case you need to restore this if something goes wrong.
  5. Then inside the option_value search for the following string: s:27:”aiowps_enable_login_captcha”;s:1:”1?
  6. Change the above to look like this: s:27:”aiowps_enable_login_captcha”;s:0:””, Note: s:1 was changed to s:0 and “1” was changed to “”.
  7. Save your table row.

The above will deactivate the login captcha. If you run into issues simply paste the string you saved before you made any changes and save the DB row and then you will at least restore the aiowps settings back to the original state

Note: If you enable the other captcha options and run into similar issues, you can use the above steps for troubleshooting.

Does your host provider do automatic page caching on the server side?
If they do, then this may be the reason why you are having captcha issues for your login forms. You will need to ask your host support guys to NOT cache the login page. (Solution provided by wpsolutions in the forum)

====================

Q4 Someone reported an issue they were having when enabling captcha in the comments form. Just remember that in most cases it will be a conflict with your theme. You should test one of WordPress default themes like Twenty Sixteen or Seventeen. This test will let you know if it is your theme causing this issue. Click on the following URL add-captcha-to-comments-form-is-not-working to read the reply by one of the developers.

===============================

That is how simple it is to set up and add captcha security to your login form, registration form, comment form in your WooCommerce store.

If you have any questions please let me know.

Enjoy.

All In One WP Security & Firewall Plugin Tutorial List

  • All In One WP Security And Firewall Plugin.

Share this post:

Share on Twitter Share on Facebook Share on Pinterest Share on LinkedIn Share on Email
I have been working in IT since 1999 and I enjoy the challenges it brings me. I love developing websites with WordPress. I spend a lot of time helping out in wordpress.org forums. I have been writing tutorials since 2011. Now I am learning how to manage my own VPS "Virtual Private Server.
 Tagged with: aiowps, login form, password, registration, reset, woocommerce

 Leave a Reply Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

19 − fourteen =

  WP eStore Plugin Complete Online Selling Solution   WP eMember Membership Plugin

Follow Me

Mbrsolution Facebook Mbrsolution RSS Feed Mbrsolution Twitter

Spanish Blog

Blog in Spanish


Blog Español

Recent Posts

  • Translate Simple Membership Using Loco Translate
  • The SEO Framework Webmaster Meta Settings
  • WP The SEO Framework Schema Settings
  • AIOWPS Two Factor Auth Settings
  • WP Simple Membership Blacklisting and Whitelisting

Recent Comments

  • Webmaster on CCleaner Options Settings
  • Nancy Brassert on CCleaner Options Settings
  • Webmaster on WordPress Simple Membership Email Settings
  • Nuu on WordPress Simple Membership Email Settings
  • Webmaster on ClassiPress WordPress Theme Customize Footer Area
Your information will be used to send you Blog updates. You can change your mind at any time by clicking the unsubscribe link at the bottom of any email that you receive from me. You can find details about mbrsolution privacy practices here.

Advertisements

Premium WordPress Apps

Pages

  • About Mbrsolution
  • Blog
  • Comment subscriptions
  • IT and SEO Support Rates
  • Links
  • PC Tips and Tricks For Windows OS
  • Portfolio
  • Recommended Tools For Windows OS
  • Resume
  • Sitemap
  • Testimonials
  • Website Design Tools And Utilities
  • WordPress Web Site Design
  • WordPress Websites SEO Management
  • WordPress Plugins Tutorials
  • WordPress Theme Tutorials

Tutorials

  • Comment subscriptions
  • Facebook Security Tutorials
  • Gimp Tutorials Latest Version 2.10.30
  • Google Tutorials
  • How To Operate An Android Smartphone
  • PayPal Tutorials
  • Selling And Buying eBay Tutorials
  • YouVersion Bible Tutorials
  • WordPress Plugins Tutorials
  • WordPress Theme Tutorials

Buy Me Coffee!

If you find my site helpful, you can buy me a cup of coffee. Click on the following image.
Thank you for your visit, enjoy my site.
© 2009 - 2023 Mbrsolution All Rights Reserved Please read the following:

Terms And Conditions

Privacy Policy

Disclaimer

Copyright Notice.

Suffusion theme by Sayontan Sinha
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT