Protect Your WordPress Website Against Malicious Login Attempts

Last Update: Nov 25, 2021

blog cover image

Email Received

WordFence sent us an email today listing IP addresses sending out malicious login attempts to WordPress sites.

WA Site Support Ticket Submitted

Because WA provides spam protection at the server level I submitted a Site Support Ticket asking if we should add these IP addresses to our Disallowed Comment Keys Section in the Settings Discussion Section of our WordPress Sites.

WA Site Support Response

Site Support said we could add them to each of our websites for protection.

4 Steps To Add Protection To Your WordPress Website Against Malicious Login Attempts
  1. Log into your WordPress Dashboard.
  2. Go to Settings --> Discussion --> Disallowed Comment Keys.
  3. Enter the following IP Addresses in the Disallowed Comment Keys Box. One address per line.

  1. Save Your Changes
  2. That's it.

Recent Comments


This option you gave is okay but the "Disallowed Comment Keys Box" is to prevent comments from those IPs. It is different from you preventing log-in attempts.

Wealthy Affiliate is doing a great job protecting mass log-in injection on your WordPress sites. Extra steps you can take is to ensure you re-set your WordPress password regularly.

Also, protect your WA login details (the second way to log in to your WA-hosted websites}.



Thanks for your comments.

Thanks very much for your help.
It's great that you sought advice from Site Support.
I'll take action with that and watch out for any others. I installed WordFence on my site about one week ago. They certainly are up to speed with sending feedback. I will take more notice of them from now on! All the more thanks to you :)


You are so very welcome. Yes Word Fence does monitor security events closely.

Wow, so many IP addresses. Thank you for sharing your important information.

You are very welcome.

Great information thanks

You are so very welcome.

Let us know if you have further questions.

Wow, George! Thanks for the important information!


You are very welcome.

Create Your Free Wealthy Affiliate Account Today!
4-Steps to Success Class
One Profit Ready Website
Market Research & Analysis Tools
Millionaire Mentorship
Core “Business Start Up” Training