NAMECHEAP PHP LINK ROTATOR

Requires PHP 8.0+ with PDO_SQLITE enabled, Apache hosting with .htaccess support, and HTTPS.

1. Unzip and upload the traffic folder to public_html/ in Namecheap cPanel File Manager.
2. Edit traffic/config.php and change ADMIN_PASSWORD to a strong unique password.
3. Open https://YOUR-DOMAIN/traffic/dashboard.php and sign in.
4. Add up to 10 http(s) destination URLs and enable/disable them as needed.
5. Use https://YOUR-DOMAIN/traffic/rotate.php as the redirect URL.
6. Test with ?ttclid=test123&utm_source=tiktok and confirm parameters reach the destination.

The rotator uses 302 redirects and round-robin rotation among enabled links. Click counts are redirect requests, not unique people. Data persists in traffic/data/rotator.sqlite. Back up this file if you migrate hosts.

SECURITY: Confirm that https://YOUR-DOMAIN/traffic/data/rotator.sqlite is inaccessible (403). If it is publicly accessible, DO NOT use the package until access is blocked. Keep your PHP version updated.

Use destination pages that comply with the policies of your advertising platform; avoid presenting different content to ad reviewers and users.
