When upgrading to the latest version of WP (3.0.1) the rewritten CSS URL no longer matches the uploaded CSS URL. This issue appeared on three separate WordPress installations that I’m running after the upgrade.
The sites are using the latest plugin version 0.9.1.3 of W3 Total Cache. The settings are the default ones with CDN (Cloudfront) configured. “Rewrite URL structure” is enabled under Minify settings since disabling this setting seems to prevent uploading of minified files to my CDN in this version of the plugin (“Host minified CSS and JS files” becomes grayed out).
Basically, the CSS URL “http://www.mysite.com/wp-content/themes/mytheme/style.css”
Is rewritten as “http://mycloud.cloudfront.net/wp-content/w3tc/min/f1b32b/default.include.2648424108.css.gzip”.
However, the Minified CSS file is uploaded to the following Amazon CloudFront directory:
The “mydir” part is the problem (or lack of “mydir” in the rewrite). This is the name of the physical directory WP is installed at (different for each site).
I’d be very grateful if someone could shed some light into this mystery.
- The topic ‘[Plugin: W3 Total Cache] Rewritten CSS URL doesn't match uploaded CSS URL’ is closed to new replies.