Title: [Plugin: WP Super Cache] Mod Rewrite Rules
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] Mod Rewrite Rules

 *  [mWoods](https://wordpress.org/support/users/mwoods/)
 * (@mwoods)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/wp-super-cache/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [theiceman6](https://wordpress.org/support/users/theiceman6/)
 * (@theiceman6)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609436)
 * 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 ?
 *  [Dinar Qurbanov](https://wordpress.org/support/users/qdinar/)
 * (@qdinar)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609440)
 * 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 (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609509)
 * I need to update those rules.
 *  Thread Starter [mWoods](https://wordpress.org/support/users/mwoods/)
 * (@mwoods)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609598)
 * 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 (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609628)
 * 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.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-mod-rewrite-rules/#post-1609628)
 * Status: not resolved