[resolved] [Plugin: W3 Total Cache] Problem with .htaccess rule for page cache method (2 posts)

  1. Hi,
    I want to use the enhanced method for the page cache. So some new rules must be add to the .htaccess file. The rule from W3 Total Cache works fine, but your new rule for WordPress has a bug. It doesn't show me the images in articles anymore. I use WPMU, the default rule is:

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Your rule:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php [L]

    Can I use the old rule or can you find the error in your rule?


  2. Frederick Townes
    Posted 6 years ago #

    Please use to the old WPMU rule.

Topic Closed

This topic has been closed to new replies.

About this Topic