The easiest way to block comment spam or abusive readers from your blog is to use the "comment blacklist" service provided within the WordPress dashboard.

You can block anyone from posting a future comment on your blog, simply by adding their name, email address, URL or IP address to the comment blacklist section.

In my opinion blocking users via their IP address is the best option. Blocking someone via their name might not be a good idea, since someone else with the same name might try to publish a genuine comment. Blocking spammers via their email address doesn't really work either, since the spammers tend to use lots of different email accounts!

So in order to block a user via their IP address, you simply need to copy the IP address from the comment and then add it to the Comment Blacklist section within WordPress.

Let me show you how...

The IP address can be found under every comment that we receive in WordPress. Simply copy this by highlighting the text and copying it (right click, copy or CTRL and C).

If you have lots of spam comments that you would like to block you should collect the IP addresses on a separate document.

I have created a comment blacklist within Microsoft Word...

Once you have collected the offending IP addresses, you simply need to paste them into the blacklist section of WordPress.

From your WordPress dashboard go to the "discussion" section found under your WordPress settings...

You then need to paste the IP addresses into the comment blacklist section. Simply add one IP address per line and then press save at the bottom of the screen.


Click next to conclude this training...



Join the Discussion
Write something…
Recent messages
DianneBee Premium Plus
Very useful! I have just started to have a problem with the same spammer on a site. Thanks!
Reply
Andrew-74 Premium
No problem! I hope this helps to sort out your spam issues!
Reply
boucherda Premium Plus
Andrew
A very useful training session - thanks a lot.
David
Reply
Andrew-74 Premium
My pleasure David!
Reply
DarleneB Premium Plus
Thank you so much, Andrew. I didn't know you could do this. I don''t get many but every once in awhile there's another one.
Reply
Andrew-74 Premium
Right! And I found that once you start getting the odd one, there are usually more to follow! I made the mistake of accepting a couple of spam comments in a couple of different articles and now they think they can send me more every day!
Reply
TurboEric Premium
Hello Andrew,

Thanks for the training. As my online business progress, I'm starting to receive spam comments regularly. This will really decrease my workload, so I can focus on the more important aspects of my business.

Cheers,
Eric
Reply
Andrew-74 Premium
Exactly! I'm finding this is happening more and more. Those spammers are getting more crafty by the day!
Reply
ChrisShouse Premium
Thank you, Andrew, this will be extremely helpful.
Reply
Andrew-74 Premium
No problem, glad to help!
Reply
Top