Restrict New Users by Domain
Restrict New Users by Domain
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
- Upload the plugin files to the
/wp-content/plugins/restrict-new-users-by-domaindirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Screenshots
Faq
Installation Instructions
- Upload the plugin files to the
/wp-content/plugins/restrict-new-users-by-domaindirectory, or install the plugin through the WordPress plugins screen directly. - 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.
Reviews
It works!! with WP v 5.4.2
By Ratnesh Sonar (ratneshsonar) on June 24, 2020
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