One of our nopCommerce hosting customers was getting major spam on their site so we suggested to add CAPTCHA and this helped get rid of the spam and their headaches. In this post, I’ll describe the steps to enable CAPTCHA on your nopCommerce store so you can stop or reduce spamming activities on your site.
CAPTCHA is a great way to prevent bots from running wild. The seemingly simple test can prove to be an difficult task for a computer program attempting to spam your site.
In this post, we are using nopCommerce 4.10.
- To begin, login to the administrative section of your nopCommerce store.
- Then click on the Administration tab.
- Once inside on the left hand side you want to go to Configuration > Settings > General Settings.
- In General Settings there is a slider on the top left that says Basic. You’ll want to click on it to change it to Advanced.
- Scroll down until just after the Security section to the CAPTCHA section. Click on the checkbox for CAPTCHA enabled.
- From here you can choose which areas of your site you would like access to be secured by CAPTCHA.
**For testing I recommend NOT enabling “on login page” just yet.
- Now to generate the keys you’ll need to have a Google account and log in.
- Once logged in to your Google account go to this link: https://www.google.com/recaptcha
- On the page in the top right corner click on admin console. Label can be your website name > choose which reCAPTCHA type you want > Add the domains you want it enabled on > Register.
- On the next page you’ll be given a public and private key. Copy and paste these into the corresponding fields on the nopCommerce site.
- Be sure to scroll to the top of the page and click save.
***Note: Be sure to test it before checking the “Show on login page” – if done improperly you can end up getting locked out of your account.
- Go to any part of the site with the CAPTCHA enabled and test it out
I hope that this helps you prevent getting bombarded by spam.
Visit Winhost to learn more about our nopCommerce hosting solution