SuperCache rewrites v0.4 (4 posts)

  1. gfindlay
    Posted 8 years ago #

    The rewrites set up part of the plugin doesn't work. It just resets the WP rewrites to the WP settings and doesn't add the new rules for super-cache.

    Also it doesn't give the "IfModule" lines in the example rules when you set it up.

  2. Donncha O Caoimh
    Posted 8 years ago #

    That's strange. Can you debug it a bit? Look in wp-cache.php, line 169 and print out $rules

    What version of WordPress are you using?

  3. gfindlay
    Posted 8 years ago #

    Checked the wp-cache.php file and everything is right in there, but when I echo out, it strips the "IfModule" bits on screen.

    The htaccess file just gets:

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

    WITH the "IfModule" bits either end, but none of the caching rules.

    If I add the caching rules manually, then do an update from the plugin, it wipes them out and puts them back to the defaults above.

    Using WP 2.3.1 and v0.4 of the plugin.

  4. Donncha O Caoimh
    Posted 8 years ago #

    That makes no sense at all! The rules are defined immediately before that. The best thing you can do is copy the rules into the .htaccess file manually. That will work too.

Topic Closed

This topic has been closed to new replies.

About this Topic