Introduction
The BuddyBoss Platform’s Email Domain Restriction feature lets you manage which email domains, extensions, or specific email addresses can be used to register on your site.
Restrict specific domains, whitelist approved domains, or block entire email extensions (e.g., @spam.com) to secure and streamline your community.
Keep full control over who can register on your site, whether you need to lock access to a certain organization, prevent spam sign-ups, or block free email providers.
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.