Rob Cottingham

19 May 2006

How to stop new-user spam on WordPress

Category: Blogging

The past week has seen a flurry of new user registrations on this blog. Which is extremely suspicious, because I don’t actually have a link anywhere to the user registration page. (Also, they’re all using very similar-sounding Russian e-mail accounts.)

My conclusion? The latest spammer trick is apparently to try to gain access to WordPress blogs by creating new users, in the hope that the blog’s settings allow that user to post unmoderated comments or maybe even articles.

Here are two ways you can keep that from happening on your WordPress blog:

  1. The safest: turn off user self-registration. From your Dashboard, click on the Options tab. Right after the field for entering the admin e-mail address, you’ll see two checkboxes labelled “Membership”. Uncheck “Anyone can register.”
  2. If you don’t want to do that (for instance, if you want people to be able to register on your blog), you can set new users’ permissions as restrictively as possible. Beneath the “Membership” check boxes, you’ll find a pull-down menu labelled “New user default role”. Choose “Subscriber”.

Subscribe to comments on this post

4 Responses to “How to stop new-user spam on WordPress”


  1. Phillip Djwa says:

    Interesting, we’ve been inundated on a client’s forum with the same .ru spam registrations. They are able to get by the captcha deal which really sucks. Are they doing this by hand?


  2. Rob says:

    I’d thought it was just a script, but if they’re getting past captchas, you’re probably right… it sounds like this is hands on keyboards.


  3. Evan Leeson says:

    wow…that’s a lot of hands, since my blog has been swamped with at least 100 of these in the last couple days…there must be some machine intelligence at work with humans just sitting there entering one captcha after another. Nice job for ex-party officials.


  4. Evan Leeson says:

    I just implemented http://wp-plugins.net/plugin/did_you_pass_math/ on my blog. We’ll see if this gets rid of them.

Leave a Reply

A few hints: HTML works fine, but if you want a web address to appear properly (especially a long complex one), please use <a> tags -- WordPress does ugly and unfortunate things to things like ampersands.

Privacy policy: I respect your privacy. I will not forward your personal information to any other parties except as required by law, and will use your e-mail address only to respond to feedback. When your comment appears, your name will appear on this page, linked to your web address.

Creative Commons License This work is licensed under a Creative Commons Licence. Please attribute to Rob Cottingham with a link to the content's original page on this web site.