SSL Labs Score

Using DomainRestriction is simple. Enter one or more domains into the plugin configs and you're done. Anyone attempting to register an email address that isn't on the approved domain list is immediately denied or vice versa - inclusive or exclusive - it's your choice.

Need more granularity? No problem! Additional configuration allows an administrator to allow specific email addresses in addition to or instead of the domain restrictions! If you want to use it in the opposite manner - you can allow all and deny specific domains and addresses. On special request, I've added the ability to allow/disallow on specific TLDs as well.

Give it a try using the demo link below. You'll never guess the valid domains ;)

Admins can edit the language file to change the failure message. I chose to make the default failure message vague.

For the administrator who wants to automate group assignment based on domain or TLD, a new set of options has been added to allow group assignment on a per-domain or per TLD basis. Additional configuration can prevent modification for selected groups or individual addresses.


  • IP White/Blacklist with CIDR support
  • Allow/Deny by any portion of the email address
    • TLD (.com, .net, .org, .edu, etc...)
    • Domain (everything after the @ and before the TLD)
    • Email address (the entire address)
    • Bulk Import
  • Option to re-check on user changed email address
  • Auto-assign groups on TLD, Domain or Email address
  • Exclude addresses from group modification
  • Exclude groups from group modification

Download DomainRestriction 2.5.3

Bug Reports

Documentation: Online | Zipped PDF

Discuss this article in the forums (0 replies).

Paid Extension FAQ

What am I buying?
  • The extension
  • One year of updates
  • Support
Do you still support free versions?
Only bugfixes
Can I install the extension on multiple sites?
Go for it
Can I give a copy to my friend?
While this is ethically wrong, there is no easy way for me to stop it. However, if your friend wants support he should call you - because I won't talk to him unless he purchases the extension.
What happens to the extension at the end of the year?
Nothing. It remains installed and configured, it just stops receiving updates and support is suspended.
What if I give you an idea that you turn into a paid extension?
You'll be given a lifetime subscription for that extension.
What if I contract you to make a custom extension for me?
There are two options, and I may or may not offer both.
  1. You will be given a quote for outright ownership of the extension.
  2. If it's something that I believe will benefit the community, I may offer a reduced quote where I retain ownership along with the promise that it will remain a free extension.