I recently found that users have been creating spam accounts on my website. In the past few minutes one user created 15 accounts that were quite clearly spam.

How should I handle spam accounts? Should I delete them or keep them?

Also how could I prevent this from happening? Thanks.

1 Answer 1


Preventing spammers is usually done using a CAPTCHA, which is basically a puzzle that is designed so that only real people can solve it, rather than bots that are designed to post spam.

A very commonly used solution is called reCAPTCHA. This will be good for many websites, although if your website would be best served by making registrations much easier (users who will not want to put much effort into joining the site), then you could use a simpler to use CAPTCHA such as this one. Generally, the harder the CAPTCHA is to solve for the user, the better it will be at stopping spammers.

Also note that regardless of how good your CAPTCHA is, a real human can still create an account and post spam. For these users, I recommend banning the account (disabling it so that it cannot submit new content).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.