[Plugin: WP Super Cache] Insecure warning on https sites with configured CDN
-
Despite having the tickbox ‘Skip https URLs to avoid “mixed content” errors’ ticked my site is still loading images and others assets from the specified CDNs. Since the CDN’s are specified with a non https url it all falls down.
I’ve setup multiple CNAMES onto my site to take advantage of HTTP pipelining and would also like to support https but the above issue is causing a problem. My cdn’s are setup like this
Offsite URL: https://cdn1.example.com
Additional CNAMES: https://cdn2.example.comI have looked through the code in ossdl-cdn.php and it appears that it should be working, yet it is not. For some reason the line
if ( $ossdl_https && substr( $match[0], 0, 5 ) == 'https' ) return $match[0];
is not evaluating correctly.
I am using the development version downloaded today at about 16:00.
Many thanks
Adam
- The topic ‘[Plugin: WP Super Cache] Insecure warning on https sites with configured CDN’ is closed to new replies.