Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Control who can sign up on your WordPress site

This guide shows how to allow, limit or stop new user registrations, so fake accounts do not fill your site.

WordPress2 min read16 steps2 screenshots

What is user registration?

User registration lets visitors create an account on your site. It is handy for shops, forums and member sites. It can also attract spam bots. A bot is a small program that makes fake accounts by itself. So you should decide who may join.

Turn registration off

Most sites do not need public sign-ups. By default WordPress keeps them off.

  1. Log in to your dashboard.
  2. Go to Settings, then General.
  3. Find Membership.
  4. Make sure Anyone can register is not ticked.
    user_registration
  5. Click Save Changes.

Turn registration on safely

  1. Go to Settings, then General.
  2. Tick Anyone can register.
  3. Open the New User Default Role list.
    user_registration_request
  4. Choose Subscriber. This role can log in and edit its own profile but cannot change the site.
  5. Click Save Changes.
Warning: Never set the default role to Administrator or Editor. Anyone could then take over your site.

Understand the roles

RoleWhat it can do
SubscriberLog in and edit own profile
ContributorWrite posts but not publish them
AuthorPublish own posts
EditorManage all posts and pages
AdministratorControl everything

Reduce spam sign-ups

  1. Install a plugin that adds a CAPTCHA to the registration form. A CAPTCHA is a small test that only humans can pass.
  2. Install a plugin that lets you approve each new user by hand.
  3. Use an email check so a new user must click a link sent to their inbox.

Clean up fake users

  1. Go to Users, then All Users.
  2. Tick the box next to accounts you do not know.
  3. Open Bulk actions, choose Delete, and click Apply.

Deleting a user can also remove their posts. Check the choices on the next screen before you confirm.

Quick recap

  • Registration is set under Settings, then General.
  • Keep it off unless your site needs it.
  • Use the Subscriber role as the default.
  • Add a CAPTCHA or manual approval to stop bots.