⚡️Cyber Monday Flash Sale 70% Off:
H :
M :
S
⚡️
  1. Home
  2. Knowledge Base
  3. BuddyBoss Platform Docs
  4. Registration
  5. How to Configure Email Domain Restrictions in BuddyBoss

How to Configure Email Domain Restrictions in BuddyBoss

Introduction

The BuddyBoss Platform’s Email Domain Restrictions feature gives you full control over who can register for your community. You can whitelist approved domains, block unwanted ones, or restrict entire email extensions.

This helps prevent spam sign-ups, secure private communities, and ensure only the right people gain access.

Tutorial Video

Configure Email Domain Restrictions

Enable Email Restriction

  1. Log in to your WordPress Dashboard.
  2. Navigate to BuddyBoss > Settings > General.
  3. Scroll down to find the Registration Restrictions section.
BuddyBoss > Settings > General > Registration Restrictions

 Note: You must use the BuddyBoss Registration Form for this feature to work.

Add Restricted or Allowed Domains and Emails

You can specify email domains, extensions, or individual email addresses to allow or restrict.

To Add a Domain or Extension:

  1. Click the Add Domain button.
Add restricted or allowed email domain in BuddyBoss
  1. Enter the domain name (e.g., buddyboss) and extension (e.g., com).
Add restricted or allowed email domain in BuddyBoss
  1. Choose a Condition from the dropdown:
Select a condition from the dropdown
  • Always Allow – Allows registration from the specified domain, even if other restrictions exist.
  • Only Allow – Blocks all registrations except those from this domain (ideal for employee-only communities).
  • Never Allow – Completely blocks registrations from the specified domain.
  1. Click Save Settings.

To allow only @buddyboss.com emails to register, enter buddyboss in the Domain Name field and com in the Extension field, then select Only Allow.
You can also use a wildcard (*) to block entire email extensions (e.g., blocking all .xyz domains).

To Add Specific Email Addresses:

  1. Click the Add Email button.
  2. Enter the email address you want to allow or restrict.
  3. Click Save Settings.
Add restricted or allowed email domain in BuddyBoss

Test the Registration Restriction

  1. Open your site’s registration page.
  2. Try to register using a restricted email domain (e.g., [email protected]).
  3. Click Create Account.
  4. If the domain is blocked, an error message will appear:
    • “This email address or domain has been blacklisted. If you think this is an error, please contact the site administrator.”

Note: If an invitation is sent to a user with a restricted email address, the Email Invite process will be blocked, and a warning message will be displayed.

Warning when someone registered using a blacklisted email address

Note: If a user attempts to change their email to a restricted address, an error message will appear, preventing the update.

If a user attempts to change email to a restricted address

Troubleshooting and FAQs

Q: The restriction settings are not working. What should I do?
A: Ensure that you have correctly saved the restriction settings.

Q: Can I block free email providers (Gmail, Yahoo, etc.)?
A: Yes! Simply add domains like gmail.com or yahoo.com under Never Allow.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.