Core Feature

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.

Required: Without a Custom Rule, your ZeroBot script will not filter any traffic. Always create a rule for each antibot link you deploy.
Setup Guide

Creating a Custom Rule

1
Open Custom Rules

Go to ZeroBot DashboardCustom Rules from the sidebar menu.

2
Click "Add New Rule"

Click the Add New Rule button to open the rule creation form.

3
Configure Basic Settings

Set the Antibot Link (your deployed ZeroBot file) and the Redirect Link (where real visitors go).

4
Enable Protections

Toggle the protections you need: VPN Block, Datacenter Block, Fingerprint, Captcha, and more.

5
Save the Rule

Click Save to activate the rule. Your antibot link will immediately start filtering traffic.

Rule activated! All visitors to your antibot link will now be filtered according to your settings.
Reference

Full Settings Reference

Setting Explanation
Basic Information
Antibot LinkThe protected ZeroBot file (e.g. ZeroBot_V8.php) where the rule is applied.
Redirect LinkThe destination URL where legitimate visitors are redirected after passing all filters.
Blocking Controls
Block VPNWhen enabled, visitors using VPN or proxy services are blocked as invalid traffic.
Block DatacenterBlocks traffic from hosting providers, cloud servers, and datacenters commonly used by bots.
Fingerprint ActivateEnables browser fingerprinting to detect advanced bots, repeated users, and automation tools.
Devices & Countries
Allowed CountriesSelect which countries are allowed. Visitors from non-selected countries are blocked.
Allowed DevicesRestrict by device type: All Devices — No restriction • Mobile — Only smartphones & tablets • Desktop — Only desktop browsers
Cloaker & Grabber
Check Red PageDetects if your redirect link is flagged as a Google Red Page. ZeroBot can notify you instantly.
Cloaker ActivateWhen enabled, bots and blocked visitors see alternative content instead of being redirected.
Cloaker URLThe clean website URL displayed to bots when cloaking is active (e.g. a blog or neutral landing page).
AutograbberAutomatically captures email parameters from incoming links (e.g. ?email=test@domain.com).
Autograbber CodeThe separator character used to append captured values. Default is #.
Analytics & Notifications
Location BotsURL where blocked traffic is redirected when cloaking is disabled (default: https://google.com).
Views File NameThe file used to store visitor logs and analytics (default: views.php).
Telegram Token & Chat IDEnables Telegram notifications for rule activity and red page detection.
Captcha Settings
Captcha ActivationEnables Cloudflare Turnstile captcha to verify real visitors before granting access.
Captcha Cloudflare KeyYour Cloudflare Turnstile Site Key used when captcha protection is enabled.
Captcha Domain NameThe domain name displayed on the captcha page (e.g. example.com). Helps brand your captcha experience.
Captcha LogoOptional 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:

Changes to rules take effect immediately. No need to re-upload or restart anything on your server.

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.