Zero Spam makes it a cinch to help protect any site or application. Use one of the installation methods below to begin protecting against malicious, spammy, and fraudulent users.
WordPress Zero Spam Installation
Integrating Zero Spam in your WordPress site is as simple as installing the WordPress Zero Spam plugin. With this plugin, you’ll have access to all configuration settings allowing you to easily and quickly start protecting your site right away.
- Download or install the WordPress Zero Spam plugin.
- If downloaded, upload the entire wordpress-zero-spam folder to the /wp-content/plugins/ directory.
- Activate the plugin through the Plugins screen (Plugins > Installed Plugins).
- Visit the plugin setting to configure as needed (Settings > Zero Spam).
Copy and paste the code below into the
<head> or at the bottom of the page (recommended).
When a visitor’s or a defined IP confidence score is equal or higher to the minimum level, they will be redirected to another URL.
<script src="https://www.zerospam.org/wp-json/v1/protect.js" async></script>
ip-address– Optional. IP address that should be checked. Defaults to the requester’s IP.
confidence– Optional. Min. confidence level before a user should be blocked. Defaults to 20.
redirect– Optional. URL to redirect the blocked user.
license– Optional. Premium license for enhanced protection.
debug– Optional. 1 to output results to the browser console and no redirect. Defaults to 0.
<script src="https://www.zerospam.org/wp-json/v1/protect.js?ip-address=126.96.36.199&confidence=20&redirect=https://www.google.com&license=LICENSE&debug=0" async></script>
Zero Spam API
We also offer an easy-to-use API to access the most up-to-date and comprehensive information for an IP address. Use this to integrate into any website or application to protect your user’s from malicious activity. For more information and how to use it, see the Zero Spam API documentation.