Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Mod Rewrite Rules

  • Does this need to be in the .htaccess file all of the time? This is displayed in my WP Super Cache Plugin control. Is so, where exactly. Or, am I supposed to delete the wordpress mod rewrite section and add place this there?

    You must have BEGIN and END markers in /home/funcity/public_html/.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:
    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
    Refresh this page when you have updated your .htaccess file.

    I have this installed in the MU plugin folder. Actually, I’m not sure it is using Super Cache properly.

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yeah I have the same problem.

    but .htaccess looks like this :

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    php_value memory_limit 64M

    what to edit ?

    now (current version) wordpress root directory htaccess is not such!

    it is:

    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    ...
    ...
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    make it this:

    RewriteEngine On
    RewriteBase /
    
    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    ...
    ...
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html" [L]
    </IfModule>
    
    # END WPSuperCache
    
    # BEGIN WordPress
    
    #uploaded files
    ...
    ...
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    
    # END WordPress
    Plugin Author Donncha O Caoimh

    (@donncha)

    I need to update those rules.

    Donncha, would it be better to move WP Supercache to the regular plug-in folder from the wpmu plug-in folder. If so, will your plug-in update itself and the .htaccess file if it is multi-site activated without me having to update the .htaccess file myself.

    Plugin Author Donncha O Caoimh

    (@donncha)

    No, it doesn’t matter. No, you have to update the .htaccess file. Do it from the main blog on your site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Super Cache] Mod Rewrite Rules’ is closed to new replies.