Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19306

2app on "[Plugin: W3 Total Cache] Minify and MultiViews"

$
0
0

I have the same problem, this is a quick fix to solve this until the developers create a more user-friendly way (created by diff, which is commonly used for creating patches):

--- MinifyAdminEnvironment.old.php      2013-08-09 15:09:10.442893335 +0200
+++ MinifyAdminEnvironment.php  2013-08-09 15:08:57.342893564 +0200
@@ -533,7 +533,9 @@

         $rules = '';
         $rules .= W3TC_MARKER_BEGIN_MINIFY_CACHE . "\n";
-        $rules .= "Options -MultiViews\n";
+        if (!defined('CUSTOM_W3TC_DISABLE_MULTIVIEWS') || !CUSTOM_W3TC_DISABLE_MULTIVIEWS) {
+            $rules .= "Options -MultiViews\n";
+        }

         if ($etag) {
             $rules .= "FileETag MTime Size\n";

The file resides in w3-total-cache/lib/W3
If you add define('CUSTOM_W3TC_DISABLE_MULTIVIEWS', true); to your wp-config.php, then it should work.


Viewing all articles
Browse latest Browse all 19306

Trending Articles