How to Ban User
Lyn wrote: “Hi Tony, I got this email below about a new “User Registration” but I haven’t loaded anyone or given anyone access to upload new details? Do you have any clue for me on how this may have been created without the relevant passwords? Below New user registration details: Username: ChristieOster23 E-mail: firstname.lastname@example.org Thanks, Lyn”
Just by looking at the Username and E-Mail you can “see” this is spam!
I have divided the answer into two sections viz. “User Roles- How to Control WordPress User Permissions Effectively” (as per a previous Q & A) as well as “How to Ban a User” (below).
Please read the article: “User Roles- How to Control WordPress User Permissions Effectively”. Assuming you read it, let’s continue…
There are various plugins that will enable you to block IPs and even block entire countries. However sometimes you will not be able get the relevant IP address so this article is about how to go about blocking email addresses. Ban Hammer does that for you by preventing unwanted users from registering.
Go to the admin area of your website > click ‘Plugins’ > ‘Add New’ > in the search bar type ‘Ban Hammer’ > click ‘Install Now’ > click ‘Activate Plugin’.
After installation go to ‘Tools’ > click ‘Ban Hammer’. In the ‘Blacklisted emails’ box enter all the emails you want to ban one below the other as per the screenshot below:
In a case where the User already registered, delete the User and then add the User’s email address to ‘Blacklisted emails’
And that is it!
Trust the aforementioned is of assistance.