How to Blacklist or Block a Domain from Registering on WordPress

blacklist

A few days ago I started noticing a high volume of registrations from the same domain. For the first couple days I didn’t think much of it. But after 25 registrations from the same domain I knew this was either a bot registering, or a spammer; most likely trying to create backlinks, etc. Follow the instructions below to install a nifty little plugin which will allow you to blacklist domains of your choice within WordPress.

Step 1

In WordPress, go to Plugins > Add New.

add-new-plugin

Step 2

Type User Domain Whitelist in the search box and hit “Search Plugins.”

user-domain-whitelist

Step 3

Click on Install Now.

install-user-domain-whitelist

Step 4

Under Settings click on User Domain Whitelist/Blacklist.

user-domain-whitelist-blacklist

Step 5

Select blacklist and then choose the domains you want to blacklist. In our example we blacklisted o2.pl.

blacklist-settings

Step 6

See example of what happens when a user on that domain tries to register. You can change the error message they receive within the plugin.

blacklist-register

Incoming search terms:

  • o2 pl wordpress registrations
  • blacklist domain wordpress
  • wordpress blacklist domain
  • wordpress spam users o2 pl