WordPress Ban Registration Domain

WordPress Ban Registration plugin allows to ban user registrations from a domain by using domains or emails or  domain extensions. It works with WordPress, WordPress multisite, BuddyPress and Ultimate Member.


  • Works with WordPress/WordPress Multisite and/or BuddyPress
  • Allows you to ban new user registrations by
    • Domain name(e.g example.com)
    • Extensions (e.g. .info, .ru etc)
    • Email address (e.g spammer@spammer.com, evil@spammer.com)
    • Ban words in domain/email by wildcard.
  • You can configure who is banned and what message to be shown in the plugin admin panel
  • It is very efficient


A Banned User on BuddyPress registration page

Here is what a banned user sees on WordPress Multisite Registration page

and here is an example for WordPress(standard)

As you see, the plugin works with WordPress/WordPress multisite and BuddyPress.

Admin Page screenshot:-

The plugin admin page allows you to save the ban information and message. here is from my test site.


You can access the admin page from Dashboard->settings->Ban Registration Domain shown below.


Using the plugin:-

The email or domain or the wildcard patterns should be added as one entry per line as shown below.

There are two meta characters allowed in the pattern/entry

  • * :- Matches anything. For example *one.com will match siteone.com, exampleone.com and so on. Multiple use is allowed like *spam* will match  hello@spam.com, spam.com, spam.xyz, somespam.com somespamxyz.com and so on
  • ? :- The question mark can be used to substitute a single character. For example, exa?ple.com will match example.com, exaple.com, exadple.com and so on.

Release History

  • Version: 1.0.6

    Monday, 26 February, 2024
    • Tested With: WordPress 6.4.3
    • Compatible With: WordPress 5.0

    Bumping version to regenerate archive for WordPress 6.4.3 compatibility.

  • Version: 1.0.5

    Wednesday, 20 December, 2023
    • Tested With: WordPress 6.4
    • Compatible With: WordPress 5.0

    Added support for WooCommerce Registration

  • Version: 1.0.4

    Monday, 17 June, 2019
    • Tested With: WordPress 5.2.3
    • Compatible With: WordPress 4.5+

    Added support for Ultimate Member plugin.

  • Version: 1.0.3

    Friday, 25 May, 2018
    • Tested With: WordPress 4.9.6
    • Compatible With: WordPress 4.5+

    Allow using * for wildcard matching and ? for single letter substitution.
    Released On: 05/16/2018

  • Version: 1.0.2

    Tuesday, 15 May, 2018
    • Tested With: WordPress 4.9.5
    • Compatible With: WordPress 4.5+

    Allow a few html tags in the error description. Also, test with WordPress 4.9.5

  • Version: 1.0.1

    Monday, 23 January, 2017
    • Tested With: WordPress 4.7.1
    • Compatible With: WordPress 4.0+

    Updated for PHP 5.4+ and test with WordPress 4.4 Beta 2

  • Version: 1.0

    Saturday, 25 April, 2015
    • Tested With: WordPress 4.2/WordPress Multisite 4.2
    • Compatible With: WordPress 3.0+/WPMS 3.0+/BuddyPress 1.5+

    Initial Release
    allows banning domains, emails, domain extensions
    Date: 16th April, 2014
    tested with WordPress 3.9