Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter morpheus4you

    (@morpheus4you)

    I’ve modified the wp-content/w3-total-cache-config.php file and changed all relative url’s to absolute ones. Then I tested it with the Pingdom’s Tools site (nice site btw), but again no luck with the minify for either CSS and JS.

    Besides I have tried to disable *all* plugins on my blog except for W3 Total Cache but that didn’t magically enable CSS and JS minification. That pretty much rules out all other plugins for being a cause of the problem.

    Another issue that I did find was in my Apache configuration. In the configuration file for my site, I had not used the DocumentRoot setting, but only the Alias. This gave an error when running the compatibility check (it referred to ‘/htdocs instead of the full document path on the webserver)’, but that is also fixed now (I’m using DocumentRoot now).

    Minor detail: my w3-total-cache-config-YOUR-HOSTNAME-HERE.php was named ‘w3-total-cache-config.php’, without the ‘-YOUR-HOSTNAME-HERE’.

    Thread Starter morpheus4you

    (@morpheus4you)

    Jan, thank you for your feedback!

    First, to exclude the WordPress Twenty Ten theme from being the cause of the problem I have switched to the theme ‘WordPress Classic 1.5 by Dave Shea’ for the next tests.

    In your blog’s HTML I don’t see a reference to the minify’ed replacement. You need to select the CSS to minify it.

    I have added the following relative url’s to the list of CSS files to be combined & minimized:

    • wp-content/themes/twentyten/style.css
    • wp-content/plugins/nextgen-gallery/css/nggallery.css
    • wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css
    • wp-content/plugins/wp-syntax/wp-syntax.css
    • wp-content/plugins/contact-form-7/styles.css

    That doesn’t generate a minified css file anywhere for as far as I can tell (the link-tag in the html-header does not get modified). But maybe you are right, and some files css files are interfering with the process, so, for testing purposes I have reduced to list to just the ‘wp-content/themes/twentyten/style.css’. That didn’t help either.

    Then I used the provided Help button. I added all the css files (36), applied changes, cleared caches (in browser as well), refreshed pages and – you guess it – no modifications of any link-tag in the html-header ??

    I have also checked & modified my .htaccess file so it contains only W3 Total Cache stuff and the default pretty url stuff from WP itself. I don’t think this file could be the cause of the problem because the minify CSS feature does not rely on the content of the .htaccess file to modify the HTML-file, I think.

    I’m running out of ideas. Maybe I should do a clean install of WordPress 3 with only the W3 Total Cache plugin. If that works I could slowly expand it with plugins to make it look like my current blog. I’ll report back to this thread whether that was successful.

    Thread Starter morpheus4you

    (@morpheus4you)

    What happens when you try? Does the replacement .css file get created or do you just get an error message?

    Not all files can be minify’ed. Also a link would help.

    So you say a replacement .css file should have been created? That doesn’t happen on my server (though the webserver process has permission to write in all folders including the themes folder). When I enable feedback via mail, I do get an error now and then saying nothing more then “241” in the body.

    Besides, I don’t see the links to the .css files in my HTML header get replaced by optimized surrogates, so it looks like the minify plugin is not interfering at all.

    Maybe it’s an issue with the Twenty Ten theme that I’m using?

    This is the WordPress blog where I’m talking about:
    https://blog.hendricksen.eu

    Too bad it currently breaks validation. Since I updated to 2.8.0 the validator complains about the banner attribute not being XHTML 1.0 Transitional compliant ??

Viewing 4 replies - 1 through 4 (of 4 total)