WP Super Cache
Notice: Supercache mod_rewrite rules detected... (2 posts)

  1. allenbog
    Posted 5 years ago #


    This is the notice I see WP super cache settings page, after I switched some settings around:

    blockquoteNotice: Supercache mod_rewrite rules detected. Cached files will be served using those rules. Edit the .htaccess file in the root of your install and remove the SuperCache rules.blockquote

    When I tried to delete these rules in the .htaccess file like it says, My site became non-operational (only the home page would show).?
    SO what do I do now?? Any help would be greatly appreciated.

  2. allenbog
    Posted 5 years ago #

    Update: I out the re-write rules back in, and now the site works. But I still get the same message as message as before.
    After reading through some of the documentation, I think I can narrow my question to the following: what is the proper way to remove the Supercache mod_rewrite rules from the .htaccess file? I already tried to remove the block of code that starts with -
    # BEGIN WPSuperCache and ends with # END WPSuperCache.

    Ok, I see what needed to be fixed. For anyone else with this problem, after you delete the block of WPSupercache code in your .htaccess file, you also need to put back 2 lines of code:

    RewriteEngine On
    RewriteBase /

    These 2 lines of code go directly below the line of code:

    <IfModule mod_rewrite.c>

    If you compare your altered .htaccess file with an unaltered one, you can see that these 2 lines had been removed by WPSupercache.

    That seems to have solved my issue!
    Hope I could help someone else.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic