Troubleshooting Guide
Solutions to common issues and debugging tips
Versioning Not Working for Fonts or Media
?1cdnver= parameter.
Step 1: Verify CDN is Enabled
Go to 1 CDN Manager → Settings → CDN Settings Tab
Check these toggles are ON:
- ✅ Enable Media CDN toggle (for videos/audio)
- ✅ Enable Fonts CDN toggle (for fonts/documents)
Check URLs are filled in:
- Media CDN Base URL:
https://media-cdn.example.com - Fonts CDN Base URL:
https://fonts-cdn.example.com
Step 2: Verify Versioning is Enabled
Go to 1 CDN Manager → Settings → Advanced Tab
Check these toggles are ON:
- ✅ Media Versioning toggle
- ✅ Fonts Versioning toggle
Check version strings are filled:
- Media Versioning:
1.2(or your version) - Fonts Versioning:
1.5(or your version)
Step 3: Test File Detection
View your page source (Right-click → View Page Source) and search for:
For Fonts: search for ".woff2"
For Media: search for ".mp4" or ".mp3"
If you DON'T see your CDN URL, the file isn't being detected. Check:
- Is the file extension in the supported list?
- Media files: .mp4, .mp3, .webm, .ogg, .avi, .mov
- Font files: .woff2, .woff, .ttf, .otf, .eot
Step 4: Clear All Caches
- WordPress Cache: If using WP Rocket, W3 Total Cache, etc., clear cache
- CDN Cache: Purge Cloudflare or your CDN cache
- Browser Cache: Hard refresh (Ctrl+Shift+R or Cmd+Shift+R)
- Plugin Cache: Go to Tools → Clear All Cache
Step 5: Check URL Structure
Working Example:
Before CDN: https://example.com/wp-content/uploads/video.mp4
After CDN: https://media-cdn.example.com/wp-content/uploads/video.mp4
With Version: https://media-cdn.example.com/wp-content/uploads/video.mp4?1cdnver=1.2
Step 6: Check for Conflicts
Disable other caching plugins temporarily:
- WP Rocket
- W3 Total Cache
- WP Super Cache
- Autoptimize
- Other CDN plugins
Test if versioning works with those disabled. Re-enable one by one to find the conflict.
CDN URLs Not Being Applied
Solution 1: Check CDN Toggle
Each CDN type has an "Enable" toggle. Make sure it's ON for the asset type you want to use.
Solution 2: Verify URL Format
Correct format:
✅ https://cdn.example.com
✅ https://d1a2b3c4d5.cloudfront.net
✅ https://img-cdn.example.com
Incorrect format:
❌ https://cdn.example.com/ (trailing slash)
❌ http://cdn.example.com (http instead of https if site is https)
❌ cdn.example.com (missing protocol)
Solution 3: Check Source Host
Plugin only rewrites URLs from your site domain. If URL is from external source, it won't be rewritten.
✅ Will rewrite: https://example.com/image.jpg
❌ Won't rewrite: https://external-site.com/image.jpg
Broken Images or 404 Errors
Cause 1: CDN Not Configured Correctly
Solution: Verify your CDN points to your website's root directory
- CloudFront: Origin domain should be example.com
- Cloudflare: DNS should resolve to your server
- Subdomains: A record should point to same IP as main domain
Cause 2: Path Structure Different
CDN must preserve full path structure
Original: https://example.com/wp-content/uploads/2024/10/image.jpg
CDN URL: https://cdn.example.com/wp-content/uploads/2024/10/image.jpg
← Must keep full path unchanged
Cause 3: CORS Issues (Fonts)
Font files require CORS headers. Check browser console for errors like:
Access to font at 'https://cdn.example.com/font.woff2' from origin
'https://example.com' has been blocked by CORS policy
Solution: Add CORS headers to your CDN:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, HEAD
CSS/JS Not Loading
Cause: CORS Headers Missing
CSS and JS from CDN need proper headers if domain is different from main site.
Required headers:
Access-Control-Allow-Origin: *
Content-Type: text/css (for CSS)
Content-Type: application/javascript (for JS)
Test CORS Headers
Open browser console (F12) and run:
fetch('https://cdn.example.com/style.css')
.then(r => r.headers.get('Access-Control-Allow-Origin'))
.then(console.log)
Should output: * or your domain
Performance Issues
Cause 1: Too Many CDNs
Problem: 5 different CDN domains = 5 DNS lookups = slower
Solution: Use 1-2 CDN domains for all assets instead of 5
Cause 2: Cache Not Working
Problem: CDN fetching from origin every time
Solution: Check CDN caching rules
- Set long cache times (1 year for images, 1 week for CSS/JS)
- Use versioning to bust cache when needed
Cause 3: Aggressive Rewriting Enabled
Problem: Content Rewriting → Aggressive Mode slows page generation
Solution: Disable Aggressive Mode unless absolutely needed
Tools Page Shows Error
Critical Error Message
If Tools page shows "There has been a critical error on this website":
Solution 1: Check PHP Version
Plugin requires PHP 7.4+. Check: Tools → Site Health
Solution 2: Check for Conflicts
Temporarily disable other plugins to find conflict
Solution 3: Check Error Logs
wp-content/debug.log (if WP_DEBUG enabled)
Server error logs (Apache/Nginx)
Cloudflare Integration Not Working
Test Connection Fails
Possible causes:
- Wrong Zone ID: Get from Cloudflare dashboard → Overview → Zone ID (right sidebar)
- Wrong API Token: Token must have "Cache Purge" permission
- API Token Restrictions: Check token isn't restricted to specific IPs
Creating Correct API Token
- Go to Cloudflare Dashboard
- My Profile → API Tokens → Create Token
- Use "Edit Zone" template
- Permissions: Zone.Cache Purge
- Zone Resources: Include → Specific zone → Your domain
- Create Token and copy it
Debugging Tips
1. View Page Source
Right-click on page → "View Page Source" → Search for your CDN URL
This shows exactly what URLs are in the HTML
2. Browser Developer Tools
Press F12 → Network tab → Reload page
Click on any asset to see:
- Full URL being requested
- Response headers
- Status code (200 = success, 404 = not found)
3. Test Individual URLs
Copy a CDN URL from page source and paste in new browser tab
Should load the file. If 404, CDN configuration issue
4. Use Tools Page
Go to 1 CDN Manager → Tools
- Test Connection: Verify CDN URLs are reachable
- Configuration Status: See what's enabled
- System Information: Check PHP version, WordPress version
5. Enable WordPress Debug Mode
Edit wp-config.php and add:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Check wp-content/debug.log for error messages
Getting Support
Before Contacting Support
Gather this information:
- WordPress version
- PHP version
- 1 CDN Manager version
- CDN URLs you're using
- Screenshot of Settings page
- Page source showing problem
- Browser console errors (F12 → Console tab)
- List of other plugins active
Support Channels
- Website: wp-cdn-manager.1cdn.us
- Registration
- Email: support@techtonic.systems
- WordPress.org: Plugin support forum