Redirect Code

Standalone antibot redirect script for your own server. Download a pre-configured ZIP with antibot detection, visitor logging, and a statistics dashboard.

Overview

The Redirect Code is a dynamically generated ZIP package that you host on your own server. It routes human visitors to your destination URL and sends detected bots to a separate URL, using the same Eximus fingerprint detection API.

How to Download

1

Navigate to the Download Page

Go to Dashboard → Scripts → Download → Redirect Code.

2

Enter Your Original Link

Enter the destination URL for human visitors. Must be a valid URL.

3

Enter Your Bot Redirect URL

Enter the URL where detected bots will be sent. Must be a valid URL.

4

Optionally Customize the Landing Page

Toggle "Custom Landing Page" to paste your own HTML that visitors see during verification.

5

Set the Redirect Delay

Choose the delay in seconds before the redirect happens (default: 3 seconds).

6

Download

Click Download to generate and save the ZIP file. It is named campaign_TIMESTAMP.zip.

ZIP Contents

The downloaded ZIP contains 3 files:

File Description
config.php Pre-configured with your license key, original link, bot redirect URL, and delay setting.
index.php Main antibot script with fingerprint collection, API detection, and redirect logic.
stats.php Built-in visitor statistics dashboard (same as SDK v3 stats).

Configuration (config.php)

Unlike the SDK v3 which uses PHP constants, the Redirect Code uses PHP variables. All values are pre-filled when you download the ZIP.

Variable Type Description
$EXIMUS_LICENSE_KEY string Your Eximus license key (pre-filled from your account).
$ENABLE_LOGGING bool Enable or disable local visitor logging. Default: true.
$LOG_FILE string Path to the visitor log file. Default: __DIR__ . "/visitors.json".
$original_link string Destination URL for human visitors (pre-filled from download form).
$bot_location string Redirect URL for detected bots (pre-filled from download form).
$loading_delay int Redirect delay in seconds (pre-filled from download form). Default: 3.
<?php // Eximus Redirect Configuration $EXIMUS_LICENSE_KEY = "YOUR-LICENSE-KEY"; $ENABLE_LOGGING = true; $LOG_FILE = __DIR__ . "/visitors.json"; $original_link = "https://your-destination.com"; $bot_location = "https://google.com"; $loading_delay = 3; ?>
All values in config.php are pre-filled when you download the ZIP. No manual editing is needed unless you want to change settings later.

How It Works

When a visitor arrives at your redirect page, they briefly see the landing page while the antibot system verifies them. The system collects a browser fingerprint and checks it against the Eximus detection API.

Landing Page

The landing page is what visitors see while their fingerprint is being collected and verified.

Default Landing

A simple centered spinner animation with "Redirecting..." text. Clean and professional.

Custom Landing

Toggle "Customize Landing" when downloading and paste your own HTML. This lets you brand the loading experience.

The redirect code includes built-in anti-detection measures to help your landing page avoid automated scanning tools.

Parameter Passing

Query string parameters from the incoming request are automatically forwarded to the destination URL.

// Incoming request: yoursite.com/path/?utm_source=fb&utm_campaign=spring // Human redirected to: destination.com?utm_source=fb&utm_campaign=spring

URL hash fragments (e.g., #section) are also preserved and forwarded to the destination.

Differences from AntiBot SDK v3

The Redirect Code and the AntiBot SDK v3 share the same core detection API but differ in their purpose and use case.

Feature SDK v3 Redirect Code
Purpose Protect any PHP page in-place Standalone redirect / cloaking campaign
Configuration 8 configurable options Pre-configured for redirect use
Bot handling Configurable (403 / redirect / exit / callback) Always redirect to bot URL
Human handling Page continues normally Redirect to original link
Stats dashboard Included Included
Best for Custom PHP applications & websites Quick campaign deployments & landing pages

Statistics Dashboard

Access the built-in dashboard at yoursite.com/path/stats.php. It is the same self-contained PHP+HTML dashboard included in the SDK v3.

Installation

1

Upload Files

Upload all 3 files (config.php, index.php, stats.php) to your web hosting via FTP, cPanel, or any file manager.

2

Ensure Directory is Writable

The directory must be writable so the visitors.json log file can be created and updated.

3

Start Redirecting

Access yoursite.com/path/ to start redirecting visitors through antibot detection.

4

View Statistics

Access yoursite.com/path/stats.php to view the visitor statistics dashboard.

Consider restricting access to stats.php via .htaccess or server-level authentication to prevent unauthorized viewing of your visitor data.