WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Somehow my Wordpress site has over 14,000 users. I know from looking at the records that these are "spam users"...

Spam User              Email
martin28651162   martin28651162@promatekng.com
martin322929651  martin322929651@playgirlgalleries.co.cc
martin443534673  martin443534673@wirelessnetworkcentral.com
martin640363627  martin640363627@bestcamcorderguide.com

Is there an easy way to remove all of these users without removing my actual "Real Users"?

Real User              Email
yyyy            yyy@email.com
zzzz            zzz@email.com

How can I prevent these users from being created automatically?

share|improve this question

migrated from stackoverflow.com Mar 30 '12 at 2:30

This question came from our site for professional and enthusiast programmers.

Hi DoubleA, welcome to WPSE. Please check out the About page and FAQ to get a quick introduction to how things work here. – Ian Dunn Mar 30 '12 at 3:32

They were probably automatically created by spam bots. You can disable user registration by going to the Settings > General page and unchecking the Anyone Can Register box. You'll still be able to manually create users, but users won't be able to register themselves automatically.

If you want to allow users to register, but still avoid spam bots, you can use a plugin like Pie Register to setup a CAPTCHA on the registration form.

To remove the existing spam users, you can use a plugin like User Spam Remover.

For more information and ideas, see these existing questions:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.