WordPress Spam Protection Tutorial


Spam usually causes a lot of troubles to any website, no matter it based on WordPress, Joomla!, Magento or some other forum platform. Applying security measurements partially guarantees that the website will not be hacked. Of course spam protection is not just about the installation of a particular plugin, but it also keeping the application and its extensions always up-to-date.

A good WordPress spam protection includes several points that need to be covered:

  • Make sure website and its plugins are updated.
  • The admin panel is either protected with additional password or IP based restriction.
  • Any active forms, no matter they are comments, registration or contact are protected with captcha.
  • The plugins you do not actually need are removed. I personally think that 5-6 plugins are enough for any WordPress. Building a website with 50+ plugins might be a very bad idea, because it is almost impossible to check and test each plugin for possible vulnerabilities.
  • Your access passwords such as FTP or the wp-admin panel password are strong. Using your pet’s  name as password is not a good option.

In this tutorial I will explain how to protect the forms on your website with captcha plugin. The process is actually easy, but I will provide detailed instructions to be sure the protection is applied successfully and no automated script will be able to post spam-like comments or register additional users.

Now let’s login to wp-admin section of your website and click Plugins button located on the left column of the panel. On the next screen click Add New and then type Captcha by BestWebSoft in the search field titled Search Plugins. The next step is install activate the plugins. Note this is randomly selected plugin that I tested and recommend as good one.

When the plugin is installed, click Settings as shown here and make sure that captcha is enabled for all possible forms.

WordPress spam protection

WordPress spam protection

Of course there are some paid options, but in this tutorial we will work with the free ones. At the bottom of the page you will find option to disable capctha for the registered users. I personally would recommend keeping it enabled. If the computer of the user is infected with virus, then the form will protect your website from spam comments. At the same page you will also find captcha adjustment options.

Spam protection basic settings

Spam protection basic settings

As the basic options are set, we can proceed with the Advanced ones shown on this screen shot:

Spam protection - advanced options

Spam protection – advanced options

The image packages are selected by default and it is fine to leave them this way. You will see image enlargement option which can be checked for better user experience. The other option allows you to define captcha code entering time frame and notices upon typing incorrect code.

The other two sections allow you to whitelist particular IP address and add custom style for the main captcha class. If you are sure your computer is not infected with any virus, then you may whitelist your local IP address and skip captcha. The other option that allows you to insert a custom code is also interesting. Using it you can change the layout of the captcha class making it better looking.


Do you want to share your opinion?

Your email address will not be published. Required fields are marked *


*

We are not industry specific. We are WordPress specific. We work with everyone to help them find solutions with their troubles.
If you show us the problem you are experiencing, we will show you how to fix it. It is that simple.


Here you can check the latest resolved WordPress issues

Reported WordPress issues

  1. wordpress shipping cost reduction total cart price
  2. wc_get_product_ids_on_sale() …getting product on sale in WooCommerce
  3. Preserving custom pages via redirect
  4. Wordpress - get_template_part() section not showing
  5. Can't click behind my Iframe. Is it possible?
  6. To show toggle and simple menu
  7. Post in WordPress
  8. Get Json Data when a variable matches with ACF custom field in WooCommerce
  9. BuddyPress shared user-base on Multisite separate sites
  10. How to show product variation in cloumn instead of row in Wordpress?

WordPress problems we are working on

  1. All pages redirect to home page
  2. Is possible to read a value from a dynamic HTML table and pass it to an input form?
  3. Google Shopping With Multiple Titles
  4. Wordpress - white screen of death when trying to update a page and/or a file in Editor
  5. cart is not working with more than 3 variations Woocommeerce.?
  6. Apache set Access-Control-Allow-Origin from http to https
  7. Wordpress works fine on admin dashboard but not loading for public
  8. Tranform in ::before breaking child elements in Wordpress navigation menu - CHROME
  9. How to flash error message in wordpress?
  10. Warning: Illegal string offset while searching of product

Resolved issues

  1. How to edit this function to improve performance in Wordpress?
  2. Wordpress get post id
  3. Open Lightbox on onload page
  4. Blogs posts on an alternative page?
  5. Style don't change in form
  6. Using Consolibyte's PHP Devkit to Add a Customer to Quickbooks POS Desktop v.12 w/ Web Connector
  7. How to reset all fields when adding to WooCommerce Cart
  8. Wordpress Rest API and AngularJS ui-sref and custom HTML
  9. Importing contact form in front-page.php
  10. Wordpress - adding a custom font via font-face
wppotion - powered by persistence and passion