External Download Server
The External Download Server feature allows you to offload video downloads to a secondary server, saving bandwidth on your main WordPress server. This is particularly useful for high-traffic websites.
How It Works
When enabled, download requests are routed through an external PHP script hosted on your secondary server. The download is processed securely with:
AES-256-CBC Encryption - Download URLs are encrypted to prevent tampering
HMAC Signature Verification - Requests are signed using your Token Security Key
Link Expiration - Download links automatically expire for security
Platform-Optimized Streaming - Different download strategies for each platform
Setup Instructions
Step 1: Generate Token Security Key
Go to Visolix Video Downloader → Settings → General
Click Generate Token button next to "Token Security Key"
Click Save Settings
[!IMPORTANT] The Token Security Key is required for secure communication between your WordPress site and the external server.
Step 2: Download the External Script
Go to Visolix Video Downloader → Settings → External Download Server
Click the Download visolix-dl.php button
The downloaded file is pre-configured with your Token Security Key
Step 3: Upload to External Server
Upload
visolix-dl.phpto your external server (VPS or dedicated server)Ensure the file is accessible via HTTP/HTTPS (e.g.,
https://dl.example.com/visolix-dl.php)
Server Requirements
PHP Version
8.0+
PHP Extensions
OpenSSL, cURL
Memory Limit
256MB+
Execution Time
Unlimited (recommended)
Step 4: Configure Plugin Settings
Go to Visolix Video Downloader → Settings → External Download Server
Enter your External Server URL (e.g.,
https://dl.example.com/visolix-dl.php)Select which Platforms should use the external downloader
Click Save Settings
Enabled Platforms
You can choose which platforms use the external download server. Unselected platforms will continue to download through your main WordPress server.
Supported Platforms:
Instagram
TikTok
Facebook
Snapchat (non-HLS only)
ShareChat
Moj
Telegram
Ok.ru (Odnoklassniki)
Limitations
[!WARNING] HLS Streams Not Supported
The external download server does not support HLS/m3u8 video streams (e.g., Snapchat stories). These downloads require FFmpeg and will always be processed through your main WordPress server, regardless of platform settings.
Security Features
Encrypted Payloads
Download URLs are AES-256-CBC encrypted
HMAC Signatures
Requests are verified using SHA-256 HMAC
Link Expiration
Download links expire after a set time
Platform Headers
Platform-specific headers prevent access issues
Environment Variables (Optional)
Instead of hardcoding the secret key, you can use environment variables on your external server:
The script will automatically use this if the key is not hardcoded.
Troubleshooting
Downloads Not Starting
Verify the External Server URL is correct and accessible
Ensure the Token Security Key matches in both plugin settings and the PHP script
Check that the external server has cURL and OpenSSL extensions enabled
403 Forbidden Errors
The download link may have expired
The Token Security Key might not match between plugin and external script
Regenerate the Token Security Key and re-download the script
Slow Downloads
Ensure your external server has sufficient bandwidth
Check if your external server has output buffering disabled
Verify
max_execution_timeis set to 0 (unlimited)
Best Practices
Use HTTPS - Always use HTTPS for your external server URL
Dedicated Server - Use a VPS or dedicated server with good bandwidth
CDN Compatible - Place the external server geographically close to your users
Monitor Usage - Track bandwidth usage on your external server
Regular Updates - Re-download the script after plugin updates for latest optimizations
Last updated