Recently one of our readers asked if it is possible to block throwaway addresses on WordPress? Disposable email addresses are temporary email accounts used by spammers to create fake WordPress accounts quickly. In this tutorial, we'll show you how to effectively block throwaway addresses in WordPress.

What are disposable email addresses and why block them on WordPress

Most sites require an email address to create user accounts. This allows owners to Website verify accounts by sending them a link to this email address.

Spammers have found a workaround with disposable emails. These temporary email accounts are available for a short time to check spammer accounts.

If you run a members area site with WordPress or that allows user registration, then people can use these disposable email accounts to create fake user accounts on your Website.

You can block unwanted recordings with certain plugins. However, by blocking disposable email addresses, you can significantly reduce unwanted records on your website.

With that said, let's take a look at how to block throwaway addresses in WordPress.

How to block unwanted addresses on WordPress

The first thing you need to do is to install and activate the plugin " Ban Hammer Plugin. For more details, see our step-by-step guide on way to install a WordPress plugin.

After activating the plugin, you must visit " Tools > Ban Hammer Hammer page to configure the plugin settings.

Ban hammer tutorial

Now you need to enter a custom error message to notify a person when they are using a disposable email address.

Then you have to enter the names of the domains you want to block. You can find a list of the most commonly used as a file Txt on GitHub.

Just copy the list of domains and paste it on your junk email blacklist. You can also add other domains that are not included in this list.

Do not forget to save your settings.

All users who will now try to register using a disposable email address will see an error message that you have determined earlier.

Display error login on WordPress

That's all for this tutorial, I hope it will allow you to effectively block unwanted registrations on your WordPress blog.