• kelson

    (@kelson)


    I have two blogs running WordPress with WP Super Cache that, immediately after upgrading WordPress to 4.9, started reporting the message “Rewrite rules must be updated” in the Super Cache section of the admin. I tried to apply the change automatically, and received the following message:

    The plugin could not update /home/hyperionktv/hyperborea.org/journal/.htaccess file: WordPress rules empty.

    The rules *aren’t* empty – both the Super-Cache and WordPress rules are present in .htaccess. And in fact the rules in .htaccess are identical to the ones that the Super Cache admin page is telling me I need to add!

    But I wonder if some change in WordPress is preventing the plugin from finding them.

    Possibly relevant: Both of these blogs have a *lot* of rules in .htaccess before they even get to the WP Super-Cache or WordPress rules. Mostly redirects for old permalink structures and (re)moved posts.

    Super-Cache does seem to be working still, but it’s still telling me I need to update the rewrite rules.

Viewing 3 replies - 16 through 18 (of 18 total)
  • In addition, this problem occurs only when expert mode is selected on my own case.
    I disabled expert mode, and the error report disappears.

    @UgoDimma

    Simple mode uses the much slower php caching which does not need rewrite rules.

    @general
    Issue confirmed. Plugin not updating rules.

    I would argue that PHP caching isn’t that much slower than mod_rewrite except if your web server is very under powered. I recommend people use simple caching for that reason.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘“Rewrite rules must be updated” message on WordPress 4.9’ is closed to new replies.