Skip to content
Ben Marshall edited this page Nov 18, 2021 · 12 revisions

User Guide

Thanks for choosing WordPress Zero Spam to protect your site from malicious and spam. It takes less than a minute to easily install, configure, and protect your website from these attacks.

Once installed and activated, you'll see an admin notice that'll allow you quickly configure Zero Spam's settings. From there, you can fine-tune the protection level based on your specific needs. You're in full control.

Settings

General Settings

  • Use Recommended Settings - This will override & update all settings using the typical configuration.
  • Usage Data Sharing - When enabled, you'll contribute to our detection database & help prevent attacks. Learn more.
  • Dashboard Widget Visibility - Determines which user roles have access to the dashboard widget.
  • IP Block Handler - Determines how blocked IPs are handled when they attempt to access the site.
    • Redirect user - Redirects the user to a specified URL.
    • Display a 403 Forbidden error - Sends a 403 header status, displaying the specified 'Blocked Message'
  • IP Block Method - Determines how a blocked IP is prevented from accessing the site (.htaccess preferred for performance).
    • .htaccess (Apache servers < 2.4) - Adds IP blocks via .htaccess for Apache serves < 2.4.
    • .htaccess (Apache servers >= 2.4) - Adds IP blocks via .htaccess for Apache serves >= 2.4.
    • PHP - Uses server resources to check and block an IP address.
  • Blocked Message - Message displayed to blocked visitors when IP Block Method is set to PHP and 'IP Block Handler' is set to 'Display a 403 Forbidden error'

WP-CLI Commands

  • wp zerospam autoconfigure — Auto-configures the plugin with recommended settings.
  • wp zerospam settings — Lists all available plugin settings & their current values.
  • wp zerospam set --[setting_key]=[value] — Updates a plugin setting.
Clone this wiki locally