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.


Reported WordPress issues

  1. Uncaught Error Call to a member function is_search() on string
  2. Get child and sibling pages to one level [Wordpress]
  3. Inner Div is Spilling from outer div due to fixed aspect ratio
  4. CkEditor creating conflict with Widgets
  5. How to display custom user profile picture in WordPress admin and front end
  6. WordPress Navigation Menus for footer and header
  7. Wordpress Posts Redirect to a new folder
  8. Send mail using wp_mail once a vaule is updated on a table
  9. make font size smaller when post title exceeds a limit
  10. How do I remove [facebook Twitter Google+] from my RSS feed?

WordPress problems we are working on

  1. Search Not Found Wordpress Page
  2. Sticky menu wordpress
  3. Permalink redirection to single.php
  4. CMB2 data save in separate row
  5. LayerSlider video not working “mediaProperies”
  6. How to include theme header and footer in taxonomy page which is inside in a plugin
  7. WordPress Customizer not working
  8. Ionic Wordpress JSON API vs WP Rest API 2
  9. When added custom HTML code slider revolution disappears
  10. Need to know what platform to use to build a secure web portal

Resolved issues

  1. How to implement Google Adwords Conversion track code with Contact Form 7?
  2. Chrome extension signing through website
  3. Title being appended to featured image link
  4. MySQL Cache every SELECT query until there is a new row?
  5. How to display post attachments in post edit screen in WordPress
  6. jquery redirect on button click
  7. Why Wordpress wp_update_post function removes html form tags?
  8. htaccess redirect for all subpage url to home in wordpress multisite
  9. Wordpress posts lost all likes (no switch to HTTPS)
  10. Wordpress network analytics for each site
wppotion - powered by persistence and passion