Auto Minify using wrong paths
-
I run a few sites using W3 Total Cache. They’ve been fine for years, but over the weekend, all of these sites stopped working (well, they had no styles and no JS). Perhaps my hosting provider changed some settings, but I cannot for the life of me figure out how to fix this.
The issue is that minify stopped working. I enabled logging, and the issue is that w3 total cache is somehow generating totally incorrect paths. For example:
File "/home/xxxxxx/public_html/wp-content/plugins/home/xxxxxx/public_html/home/xxxxxx/public_html/wp-content/themes/acf/lib/chosen_v1.3.0/chosen.min.css" doesn't exist
And
File "/home/yyyyyy/public_html/wp-content/plugins/home/yyyyyy/public_html/home/yyyyyy/public_html/wp-content/themes/varga/style.css" doesn't exist
These are two separate websites, and I have others with the exact same error too.
As you can see, it should be looking for the file in /home/yyyyyy/public_html/wp-content/themes/varga/style.css, not /home/yyyyyy/public_html/wp-content/plugins/home/yyyyyy/public_html/home/yyyyyy/public_html/wp-content/themes/varga/style.css
I mean, these URLs are very weird. It’s like [PLUGIN_PATH][ROOT_PATH][FILE_PATH] instead of just being [FILE_PATH].
Any idea why this is happening? I’ve had to disable minify on all of my websites because of this, which is quite annoying.
- The topic ‘Auto Minify using wrong paths’ is closed to new replies.