WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Issue with multisite, mod_rewrite & htaccess (4 posts)

  1. Craig Berry
    Member
    Posted 3 years ago #

    Hello,
    I'm trying to use mod_rewrite caching on my WP-Multisite installation, and I have the following message:
    Mod Rewrite rules cannot be updated!

    When I open up my htaccess file...everything between # BEGIN WPSuperCache and # END WPSuperCache looks fine.

    Directly after that is my BEGIN & END WordPress...but there isn't anything in-between the BEGIN/END. Should there be?

    My permalink structure is working on the front-end...
    /blog/%year%/%monthnum%/%day%/%postname%/

    Here's the htacess code BEFORE the # BEGIN WPSuperCache...

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    Honestly, I'm not entirely sure what those are for...

    Any ideas?

    Thanks,
    Craig

  2. Craig Berry
    Member
    Posted 3 years ago #

    Sorry for the Bump...any suggestions?

    Thx!

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    That code before the WPSuperCache tag has to be after it, in the WordPress block. Move it there and the message will disappear.

  4. Craig Berry
    Member
    Posted 3 years ago #

    Perfect! Thanks for the tip and the great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic