WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Mod Rewrite rules cannot be updated (6 posts)

  1. T-Bag
    Member
    Posted 5 years ago #

    Under Mod Rewrite Rules, I get this message:

    You must have BEGIN and END markers in /home/user/public_html/blogdirectory/.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'm not sure what to do here, I edit the .htaccess file, and add this line of code in, but it doesn't work: # BEGIN WordPress RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

  2. deserturchin
    Member
    Posted 5 years ago #

    I have the same problem. Can someone please gives us some guidance?

  3. pinkbeats
    Member
    Posted 5 years ago #

    I have the same message on the plugin setting page. When I create an .htaccess file in the root directory for my blog it screws everything up. My blog is not in the root directory of my website though...

  4. pinkbeats
    Member
    Posted 5 years ago #

    OK have figured it out.

    The settings page is misleading in that the code should be written thus:

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    i.e. on new lines, if you copy and paste it from the settings page, it's on one line and will not work. So I created an .htaccess file in the root directory of my blog, inserted the above refreshed the page then it worked. Hope that helps.

  5. ijoel67
    Member
    Posted 5 years ago #

    I have the same issue today and it's done well thank you pinkbeats

  6. dalizo
    Member
    Posted 5 years ago #

    I'm using WP 2.7 with WP-Supercache 0.9.3.1 installed.

    I tried pinkbeats tips and always ends with Mod Rewrite rules cannot be updated' warning.

    I've tried all of the this plugin suggestions wrote inside the plugin and always ends with Error 500 Internal Server Error.

    Please be advise.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.