Blog Post

How to fight spam registrations and blogs???

OK, I don’t know about you, but I am sick and tired of cleaning my websites of spam registrations and spam blogs in case of multi site installations. And no matter what I tried, nothing really solves the problem. So, I decided to do something about that.

There are days that I get over 200 spam blogs registered over at xScape demo website. And I get the IP used for registration, and I add it to .HTACCESS file. And than I need to removed all those blogs. And that takes time, and always it’s very frustrating. And to be honest, the only method that have some effect is banning IP’s. But, there is nothing to prevent these spam bots to use another IP.

I searched, and I searched, and there is not a single plugin that offers any kind of protection from this. And everybody seems to be fine with that. Website administrators are patiently block IP’s, delete spam and nothing is changed. Well, I am not fine with that. So, last night I started work on a new feature for GD Press Tools Pro that will fight spam registrations. At this point it’s all done, and it works with both regular websites running WP and multi sites. There are several methods plugin implements right now, and they will be expanded over time:

  • Prevent using keywords in the username (old feature)
  • Limit length of username with minimum and maximum length value (old feature)
  • Perform regular expression filtering of username and email. If they fail with at least one expression, they are considered invalid.
  • Log registration requests into DB, and mark them with filter that they failed.
  • Auto ban IP, email or username automatically if they fail filter tests.
  • Redirect visits to whole website or wp-login.php/wp-signup.php based on the banned IP.

Starting tonight I will test the plugin on xScape.info and make sure that everything works before rolling out GD Press Tools 3.6 Pro next week. This will be another Pro exclusive feature and over time will be expanded with more options and more filter tests. If you have suggestion what else can be included, please leave a comment or send me an email. I will be happy to improve this as much as possible and help all plugin users by saving them some time and a lot of frustration from cleaning the website from spam registrations. And with increasing number of WPMU and WP 3.0 Multisites, I am sure that spam problem will only increase. And with already implemented prune users feature GD Press Tools is very powerful tool that will make your blog clean and secure.

So stay tuned, new GD Press Tools will get his spam fighting powers soon.

Please wait...

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.


This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Latest From The Blog

setup packages

Introducing Setup Packages

By popular request, Dev4Press now includes setup packages that can be purchased along with the plugin licenses and include plugin setup and training with the Dev4Press Support team via Meet, Zoom, or Skype.
antispam wpforms

Fighting spam in WPForms Lite & Pro

WPForms is a very popular plugin for creating contact forms, and a free version is available in the WordPress.org repository. But both versions have very basic spam protection, and that's why coreSecurity Pro has an Antispam feature for the WPForms plugin.
gravity forms antispam results

Gravity Forms Antispam results

We have used the Gravity Forms plugin on Dev4Press for over ten years now, and having a good antispam solution is essential to keep contact form entries clean and not waste time sorting out what is spam or not.

1 thought on “How to fight spam registrations and blogs???”

  1. It is really unthinkable to blog without installing GD Press Tools. Thousands of spam will hit your blog if you don’t install GD Press Tools.
    I must say that pretty incredible tool, now let’s all imagine life without GD Press Tools a terrible life with hours of our time wasted deleting spam comments and fight spam registrations.

    Please wait...

Comments are closed.

Grammarly - Number 1 Writing App
WP Rocket - Make WordPress Load Fast in a Few Clicks