• I’ve been working with w3 total cache trying to minify my css and I noticed that nothing was working and I was getting a 400 error on default.include.css and when I looked at the minify log, the error that the css wasn’t found showed me that the file location was set wrong. It shows this:

    The path “/var/www/domain.com/web/var/www/clients/client1/web1/web/wp-content/themes/theme1/style.css” could not be found.

    The true location would actually be /var/www/domain.com/web//wp-content/themes/theme1/style.css.

    Where is it pulling this location from and how can I fix that? I also notice that anytime I change my minify settings, it tells me that it can’t update the .htaccess in my min directory but my permissions are fine and if I retry it immediately, it works. Any thoughts because with all the plugins I have, I really need some caching and minifying.

    Thank you.

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • How have you specified the location to the file in your settings? Like this: wp-content/themes/theme1/style.css ? Did you click the verify URI button to make sure there was a 200 response (file loads)?

    Thread Starter symm2112

    (@symm2112)

    I do get a 200 when the file loads but again, when I check the site, and check the minify log, I get the same response. It seems to be reading the path twice almost because here is how my file structure should be:

    w3tc reads this: /var/www/domain.com/web/var/www/clients/client1/web1/web/wp-content/themes/theme1/style.css

    these paths work:
    /var/www/clients/client1/web1/web/wp-content/themes/theme1/style.css
    /var/www/domain.com/web/wp-content/themes/theme1/style.css

    Is there a option setting in the db that I can change or can you tell me where I can find where it’s pulling that location from? I’m not sure why it would be reading the location and appending it but I find that odd. Where did it pull that from to begin with?

    Settings are not stored in the database, they’re stored in wp-content/w3-total-cache-config.php. If you submit a bug submission report (from the support tab) I’l be able to give a better answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] File Location Wrong’ is closed to new replies.