Title: Block Bots from Comments
Last modified: September 16, 2018

---

# Block Bots from Comments

 *  Resolved [starvoters1](https://wordpress.org/support/users/starvoters1/)
 * (@starvoters1)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/block-bots-from-comments/)
 * Hi, I’m wondering if the Wordfence has an option to set to block known bots from
   the comments*.php? I have the spam comment option enabled in the settings, but
   there are several bots commenting everyday.

Viewing 1 replies (of 1 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/block-bots-from-comments/#post-10703216)
 * Hi [@starvoters1](https://wordpress.org/support/users/starvoters1/)
 * If you know these bots IPs, user agents, hostname, you can block them using a
   [custom pattern](https://www.wordfence.com/help/blocking/#custom-pattern) in 
   the firewall blocking page.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Block Bots from Comments’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [bots](https://wordpress.org/support/topic-tag/bots/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/block-bots-from-comments/#post-10703216)
 * Status: resolved