Introducing WordPress Restrict Email Domains Plugin

The WordPress Restrict Email domains plugin allows you to limit/restrict user registration on your WordPress/ BuddyPress site by email domains. You can limit the registration by specific emails or domains or just the domain extensions(like .edu/.com)

This plugin is best suited for intranets, educational institutes or the cases when you do not want to allow registration from everyone but a subset of users based on their email address. If you want to limit registrations on your WordPress, BuddyPress website to the emails belonging to only specified domains, this plugin is for you. It goes one step further and allows you to allow users by emails, or domains or even the domain extensions. So, if you are building an educational website and only want to allow the users from .edu domain, just put .edu in the settings. Same goes with the domain. If you are building a corporate network and only want to allow users from your own network, put your domain name in the settings.

It’s easy and efficient. The use of regular expression gives it  a lot of flexibility.


  • Works with
    • WordPress
    • WordPress Multisite
    • BuddyPress
  • Allows you to limit new user registrations by
    • Domain names(e.g example.com)
    • Extensions (e.g. .edu, will only allow emails having .edu domain)
    • Email addresses (e.g admin@you-website.com, friends@some-other-website.com)
  • You can configure the rules to allow users in the plugin admin panel(domain/email/extensions)
  • It is very efficient


with BuddyPress

With WordPress Multisite

With WordPress

Admin Options:-

Allows you to update the list of allowed domains and the erro message as shown below

After activating the plugin, you can access it from Dashboard->Settings->Restrict Email Domains.

Download & Installation https://buddydev.com/plugins/wordpress-restrict-email-domains/

Hope it helps a few of you. Looking forward to hear your suggestions for further improvement.

10 Responses to Introducing WordPress Restrict Email Domains Plugin

  • Hello Brajesh.

    There is a typo in the Restrict Email Domains Plugin backend GUI: extnesions

  • Hi Brajesh,

    Thank you for making this plugin.

    I am also running your version of BP MultiNetwork which is great.

    For Restrict Email Domain in my WP Multisite/BP MultiNetwork configuration I am activating the plugin at the site level. However, when I change the domains on site A the setting are changed on site B.

    Hopefully there is a way to make the setting independent by site.



  • This is great. Is there something like this for discussion settings? i.e. I want to restrict the posting of any comments unless they have a specific email domain. This would be ideal for our college website.

    • Hi Matthew,
      Thank you for the comment.
      That gives me a new idea to create a plugin for the purpose 🙂

      Let me see if I can get something working in a day or two 🙂


  • I want to know if buddydev plugin will work for my classipress site.

    Thank you

  • The plugin doesn’t seem to be working for me. If I change the setting to .edu anyone can register…

    It works if I put gmail.com but not just on the .edu tag.

    • Hi Dough,
      i am sorry for the inconvenience. Please allow me 15 minutes to check it and get back to you.

      Thank you

    • Hi Doug,
      There was a bug. We have updated the plugin, please upgrade to 1.0.4 and It will work properly.

      Thank you

Leave a Reply

Are you looking for support?

Please ask support questions in BuddyDev Forum and help us serve you better. Please use comment for general discussion/feature suggestions.

Your email address will not be published. All the fields marked as * are required.

If you are posting code, please use <pre> { Your Code Block } </pre>. Example:- <pre> echo $name; </pre>

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">