Custom Rules
Configure how ZeroBot filters, redirects, and protects your traffic
What are Custom Rules?
Custom Rules are the heart of ZeroBot's protection system. Each rule defines how traffic is filtered for a specific antibot link — including blocking options, device and country restrictions, cloaking, captcha, and notification settings.
You must create at least one Custom Rule after uploading your ZeroBot script to activate protection.
Creating a Custom Rule
Open Custom Rules
Go to ZeroBot Dashboard → Custom Rules from the sidebar menu.
Click "Add New Rule"
Click the Add New Rule button to open the rule creation form.
Configure Basic Settings
Set the Antibot Link (your deployed ZeroBot file) and the Redirect Link (where real visitors go).
Enable Protections
Toggle the protections you need: VPN Block, Datacenter Block, Fingerprint, Captcha, and more.
Save the Rule
Click Save to activate the rule. Your antibot link will immediately start filtering traffic.
Full Settings Reference
| Setting | Explanation |
|---|---|
| Basic Information | |
| Antibot Link | The protected ZeroBot file (e.g. ZeroBot_V8.php) where the rule is applied. |
| Redirect Link | The destination URL where legitimate visitors are redirected after passing all filters. |
| Blocking Controls | |
| Block VPN | When enabled, visitors using VPN or proxy services are blocked as invalid traffic. |
| Block Datacenter | Blocks traffic from hosting providers, cloud servers, and datacenters commonly used by bots. |
| Fingerprint Activate | Enables browser fingerprinting to detect advanced bots, repeated users, and automation tools. |
| Devices & Countries | |
| Allowed Countries | Select which countries are allowed. Visitors from non-selected countries are blocked. |
| Allowed Devices | Restrict by device type: All Devices — No restriction • Mobile — Only smartphones & tablets • Desktop — Only desktop browsers |
| Cloaker & Grabber | |
| Check Red Page | Detects if your redirect link is flagged as a Google Red Page. ZeroBot can notify you instantly. |
| Cloaker Activate | When enabled, bots and blocked visitors see alternative content instead of being redirected. |
| Cloaker URL | The clean website URL displayed to bots when cloaking is active (e.g. a blog or neutral landing page). |
| Autograbber | Automatically captures email parameters from incoming links (e.g. ?email=test@domain.com). |
| Autograbber Code | The separator character used to append captured values. Default is #. |
| Analytics & Notifications | |
| Location Bots | URL where blocked traffic is redirected when cloaking is disabled (default: https://google.com). |
| Views File Name | The file used to store visitor logs and analytics (default: views.php). |
| Telegram Token & Chat ID | Enables Telegram notifications for rule activity and red page detection. |
| Captcha Settings | |
| Captcha Activation | Enables Cloudflare Turnstile captcha to verify real visitors before granting access. |
| Captcha Cloudflare Key | Your Cloudflare Turnstile Site Key used when captcha protection is enabled. |
| Captcha Domain Name | The domain name displayed on the captcha page (e.g. example.com). Helps brand your captcha experience. |
| Captcha Logo | Optional URL to a custom logo image displayed on the captcha page (e.g. https://example.com/logo.png). |
Managing Rules
From the Custom Rules page, you can:
- Edit — Click the edit button on any rule to modify its settings.
- Delete — Remove a rule that is no longer needed.
- Toggle Status — Enable or disable a rule without deleting it.
Best Practices
Enable Fingerprinting
Always enable fingerprinting for the strongest bot detection. It catches advanced bots that bypass IP checks.
Restrict Countries
Only allow countries relevant to your audience. This blocks a large portion of bot traffic automatically.
Use Cloaker
Enable cloaking to show a safe page to bots and scanners, keeping your real content hidden.
Thank You
Thank you for choosing ZeroBot! Custom Rules give you full control over how your traffic is handled. Configure them carefully for maximum protection.
Need help? Our support team is always ready to assist via Telegram or our support center.