[Plugin: W3 Total Cache] Bug in “Replace domain in URL with:” ?
-
I use FTP CDN to host the wp-includes and theme files.
Also, I’m already using the same CDN to host my images and videos.
The URL of the CDN is in the format cdn.mydomain.com and the blog is https://www.mydomain.comThe problem is the plugin is trying to replace the files under https://cdn.mydomain.com, resulting a bad url in the format “https://cdn.mydomain.com/replace_domain_in_url/https://cdn.mydomain.com/images/….” !!!
I partially fixed the issue by adding
if (strpos($matches[4], 'https://') === 0) { return $matches[0]; }
at Cdn.php but then the plugin lose some normal replacements of wp-includes and themes directory.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: W3 Total Cache] Bug in “Replace domain in URL with:” ?’ is closed to new replies.