Restrict New Users by Domain

April 29, 2017

Restrict New Users by Domain Plugin

Whitelist or Blacklist email domains used for new user registration.

Restrict New Users by Domain makes it easy to whitelist or blacklist email domains that new users can use when registering. If using the whitelist, only new users who enter an email domain on the whitelist will be allowed to create an account. If using the blacklist, a user who enters an email domain on the blacklist will not be allowed to register. This plugin is NOT multisite compatible.

Features

  • Easy to use settings page for adding domains
  • No limit on domains to restrict
  • Customize the error message for restricted domains
  • Uses built in WordPress actions, no CSS or JS

THIS PLUGIN DOES NOT WORK WITH MULTISITE

Restrict New Users by Domain makes it easy to whitelist or blacklist email domains that new users can use when registering. If using the whitelist, only new users who enter an email domain on the whitelist will be allowed to create an account. If using the blacklist, a user who enters an email domain on the blacklist will not be allowed to register.

Installation

  1. Upload the plugin files to the /wp-content/plugins/restrict-new-users-by-domain directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Screenshots

  1. The Restrict New Users by Domain settings page. It is accessed by going to Settings -> Restrict New Users by Domain

    The Restrict New Users by Domain settings page. It is accessed by going to Settings -> Restrict New Users by Domain

  2. The default error message for a restricted domain.

    The default error message for a restricted domain.

FAQ

Installation Instructions

  1. Upload the plugin files to the /wp-content/plugins/restrict-new-users-by-domain directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Can I use both the Whitelist and the Blacklist

No. Only one can be used. If both lists have domains saved in them, then only the whitelist will be used.

Can I change the default error message

Yes. You can customize the error message on the settings page.

Does this plugin work with Multisite

No. Multisite already has this ability built in. You do not need this plugin if you are running a multisite.

Changelog

1.0.2

  • Fix case sensitivity when validating domains as suggested by user @john168

1.0.1

  • Fix multisite activation error

1.0

  • Initial Release

Details

  • Version: 1.0.2
  • Active installations: 100
  • WordPress Version: 4.6
  • Tested up to: 4.7.29

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars