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
- Log in to your WordPress Dashboard.
- Navigate to BuddyBoss > Settings > General.
- Scroll down to find the Registration Restrictions section.
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:
- Click the Add Domain button.
- Enter the domain name (e.g., buddyboss) and extension (e.g., com).
- Choose 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.
- Click Save Settings.
To Add Specific Email Addresses:
- Click the Add Email button.
- Enter the email address you want to allow or restrict.
- Click Save Settings.
Test the Registration Restriction
- Open your site’s registration page.
- Try to register using a restricted email domain (e.g., [email protected]).
- Click Create Account.
- 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.”
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.