Advanced Disable Comments
Tắt bình luận WordPress linh hoạt theo post type, chặn cả XML-RPC và REST API comment endpoint. Giải pháp anti-spam toàn diện.
Vấn đề giải quyết
Plugin disable comments phổ biến thường chỉ ẩn form bình luận trên frontend, để hở XML-RPC và REST API cho bot spam tấn công. Advanced Disable Comments khóa toàn bộ các endpoint này + gỡ comment infrastructure khỏi admin, giúp portfolio, catalog, WooCommerce store không cần comments thực sự "sạch" khỏi spam.
Tính năng chính
Disable toàn site 1-click
Bật "Disable Everywhere" để tắt comment trên tất cả post type cùng lúc.
Tắt theo post type
Chọn tắt riêng cho post, page hoặc product WooCommerce — linh hoạt theo nhu cầu.
Chặn XML-RPC comments
Ngăn spam tấn công qua endpoint XML-RPC — nguồn spam phổ biến ít plugin xử lý.
Chặn REST API comments
Vô hiệu hóa endpoint /wp-json/wp/v2/comments cho request không authenticated.
Ẩn form + list FE
Gỡ toàn bộ dấu vết comment trên frontend: form, danh sách, counter.
Xóa menu Comments
Gỡ "Comments" ra khỏi admin sidebar + top bar để admin UI sạch sẽ.
Ai nên dùng
- Portfolio / catalog site không cần bình luận — muốn xóa sạch comment infrastructure.
- WooCommerce store bị spam comment trên product page hàng ngày.
- Site muốn comment ở blog post nhưng tắt ở page và product (selective disable).
- Site bị spam bot tấn công qua XML-RPC / REST API comments endpoint.
Yêu cầu kỹ thuật
| WordPress | 5.8+ (test up to 6.4) |
|---|---|
| PHP | 7.4+ |
| WooCommerce | Không bắt buộc (hoạt động với cả non-WooCommerce site) |
| Dependencies | Không có |
Cài đặt nhanh
- Upload plugin vào WordPress → Plugins → Upload Plugin → Install → Activate.
- Settings → Disable Comments → chọn "Disable Everywhere" hoặc tick theo post type.
- Bật "Block XML-RPC" và "Block REST API comments" để khóa toàn diện.
Bị spam / mã độc tấn công?
D-Solutions audit bảo mật toàn diện, xử lý mã độc, hardening WordPress, cài WAF.