WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Mode rewrite rule cannot be updated (6 posts)

  1. Eric 05
    Member
    Posted 4 years ago #

    I'm using Super cache and having this message :

    Mod Rewrite rules cannot be updated!

    You must have BEGIN and END markers in /.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.

    So I have updated my .htacces file and refresh the page, (and relaunch the browser as weel) and I stillhave this message. Is it a problem and how to solve it?

    thanj you for your answers!

    Eric

  2. Donncha O Caoimh
    Member
    Posted 4 years ago #

    That's odd. Are you sure you updated the right .htaccess file?

  3. Eric 05
    Member
    Posted 4 years ago #

    Uh, I don't know. Wich one am I suppose to update?

  4. Eric 05
    Member
    Posted 4 years ago #

    OK, I found out the trick. I have inserted the lines at the bottom of the files, and it did not work. I've tried at the top of the file and... it's ok!

  5. Eric 05
    Member
    Posted 4 years ago #

    Well, I did not find the trick and it is not resolved. Anyone has a clue?

    I've updated the .htaccess root file, the .htaccess in the site directory, I don't know what to update now...

  6. mad_science
    Member
    Posted 4 years ago #

    I was going in circles with this issue same as you (.htaccess had begin and end, just like it was supposed to) and finally realized it was a really ridiculous error.

    At some point after downloading/editing/uploading the file, ".htaccess" lost the dot. e.g. I was looking at "htaccess" on the server, thinking it was fine.

    Renamed to add the dot in front ==> victory.

    Figured this might help some confused person coming across this is the future.

Topic Closed

This topic has been closed to new replies.

About this Topic