---
title: "Discussion on \"Tự động block các IP từ spam comment vào .htaccess file\" | Hashnode"
description: "Discussion on \"Tự động block các IP từ spam comment vào .htaccess file\". Sau khi viết bài về việc blog bị spam và áp dụng 1 số biện pháp thì tình trạng bị spam có giảm nhưng cơ bản thì 1 ngày cũng bị khoảng chục cái mail notification (do bọn nó bypass được hệ thống nhận dạng spam của Wordpress)\nVề cơ bản thì bọn spammer đ..."
url: "https://hashnode.com/posts/tu-dong-block-cac-ip-tu-spam-comment-vao-htaccess-file/65574dee28d92dd5194b2315"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tự động block các IP từ spam comment vào .htaccess file](https://blog.donamkhanh.com/tu-dong-block-cac-ip-tu-spam-comment-vao-htaccess-file?utm_source=hashnode&utm_medium=feed)

Sau khi viết bài về việc blog bị spam và áp dụng 1 số biện pháp thì tình trạng bị spam có giảm nhưng cơ bản thì 1 ngày cũng bị khoảng chục cái mail notification (do bọn nó bypass được hệ thống nhận dạng spam của Wordpress) Về cơ bản thì bọn spammer đ...

Jun 22, 2019 · 3 min read · blog.donamkhanh.com  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#wordpress](https://hashnode.com/tag/wordpress)
-   [#security](https://hashnode.com/tag/security)
-   [#spam-protection](https://hashnode.com/tag/spam-protection)

## Written by

[Khanh Nam Do](https://hashnode.com/@donamkhanh)

@donamkhanh · Ha Noi, Viet Nam

  
[View profile](https://hashnode.com/@donamkhanh)

Fullstack web developer

Khanh is a full stack web developer with over 15 years of experience developing for the web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
