Restrict New Users by Domain

By exportsmedia

★ 5.0/5 (1 ratings)100+ active installationsVersion 1.0.2

Whitelist or Blacklist email domains used for new user registration.

Description

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

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.

Screenshots

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