How do I protect WordPress from spam comments?
Последна промяна: 15.10.2025 09:03
To protect WordPress from spam comments, follow these steps:
- Install Plugins: Use http://wordpress.org/plugins/anti-spam/ or https://wordpress.org/plugins/wps-hide-login/ to change the login URL.
- Add reCaptcha: Enable reCaptcha on forms and contact pages.
- Restrict Login: Add to .htaccess:
, replacing x.x.x.x with your IP (http://www.whatismyip.com/).Require ip x.x.x.x - Monitor Logs: Enable logs (https://uk.cloudlogin.co/statistics/logs/) and block abusive IPs via Advanced > IP Blocking (https://uk.cloudlogin.co/advanced/ip-blocking/).