simondaniels23
Member
Posted 3 months ago #
Hello,
I enabled CDN support in WP Super Cache and put in my CDN URL (e.g. http://12345abc.cloudfront.net). This turned all my links into http://http://12345abc.cloudfront.net/path/file.js. Note the double http://. Obviously that means my website doesn't load properly.
Even when I omit http:// from my CDN URL, I still get this. I've tried turning caching off and on but no luck.
Any ideas? Thanks!
http://wordpress.org/extend/plugins/wp-super-cache/
Very odd. The only thing I can suggest is you look at the ossdl php file and try to figure out from the code what's happening.
simondaniels23
Member
Posted 3 months ago #
If it helps, here's how I'm attaching my stylesheets:
wp_enqueue_style("jqueryui_css", get_bloginfo( 'stylesheet_directory' )."/css/jqueryui/custom.css", false, $pp_theme_version, "all");
The regex in ossdl.php is fairly complex and I'm nervous messing with it. Can I try a separate CDN plugin? Will that conflict with Super Cache?
Thanks!
You can of course use another CDN plugin. Just disable the one in Supercache first and there won't be any conflict.