How can I ban spam comments?

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
blog7
Posts: 12
Joined: Fri May 15, 2020 3:05 pm
Location: Bulgaria
Contact:

How can I ban spam comments?

Post by blog7 » Sun Sep 12, 2021 2:57 pm

Since many spammers have started leaving spam comments on the site, my question is how can I ban comments? Can this be done with manual code in the theme itself or is there a plugin?
blog7.org

eagleman
Posts: 65
Joined: Sat Mar 02, 2019 12:10 pm

Re: How can I ban spam comments?

Post by eagleman » Tue Sep 14, 2021 4:27 am

Into the main page of Admin Area, click on Entries section (you'll find easily on the top bar) and then Comment Center. In this way you can find all the tools you need to manage spam and unwelcome comments

blog7
Posts: 12
Joined: Fri May 15, 2020 3:05 pm
Location: Bulgaria
Contact:

Re: How can I ban spam comments?

Post by blog7 » Tue Sep 14, 2021 6:55 am

Thanks for your answer but in comments I have only edit and delete. How can I ban comments at all?
Attachments
112.jpg
112.jpg (30.28 KiB) Viewed 425 times
blog7.org

eagleman
Posts: 65
Joined: Sat Mar 02, 2019 12:10 pm

Re: How can I ban spam comments?

Post by eagleman » Tue Sep 14, 2021 7:10 am

Probably you haven't enabled the Comment Center plugin. Try to enable it from the Plugins section

User avatar
Arvid
FlatPress Coder
Posts: 271
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: How can I ban spam comments?

Post by Arvid » Sat Oct 30, 2021 11:25 am

Hi,

the easiest way is the QuickSpamFilter plugin. It allows you to simply define a list of bad words that identify a comment as spam, so the comment will be blocked.
On my FlatPress instance, this list blocks about 99,9% of the incoming spam comments:

Code: Select all

cialis
viagra
amoxicillin
levitra
doxycycline
Warning: A comment will be disallowed even when one word is part of another (e.g. "old" matches "bold" too).

Also, use the Comment Center plugin to let the Akismet service do the spam filtering for you. It also allows you to configure that comments must be approved by you before they are shown on your blog.

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests