• Resolved BenPi

    (@mrbenpi)


    Hello!

    When Cerber is automatically updated it seems there’s a bug that modify the .htaccess of my WordPress website incorrectly.

    Normally the “# BEGIN WordPress […] # END WordPress” section of my .htaccess contains :
    […]
    RewriteBase /
    […]
    RewriteRule . /index.php [L]
    […]

    But after the update it’s modified as :
    […]
    RewriteBase /en/
    […]
    RewriteRule . /en/index.php [L]
    […]

    So after the update, all the websites pages, except the index, does 404 errors. I’ve corrected the .htaccess file and everything is fine now.

    The only plugin that was updated the last time I’ve got the problem (it’s not the first time) that modify the .htaccess was Cerber.

    For your information, the “/en/” on my website do exists. It’s the English version of my WordPress website that’s enabled through WPML plugin. The default language is French.

    So how can I help you diagnose this issue?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gioni

    (@gioni)

    Hi! WP Cerber doesn’t modify any rule in that section at all. It’s not possible by the plugin’s design.

    Thread Starter BenPi

    (@mrbenpi)

    Are you sure it’s not related to this issue :
    https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

    • This reply was modified 6 years, 3 months ago by BenPi.
    • This reply was modified 6 years, 3 months ago by BenPi.
    • This reply was modified 6 years, 3 months ago by BenPi.
    Plugin Author gioni

    (@gioni)

    No, WP Cerber doesn’t use flush_rewrite_rules() either. It seems they look for excuses not to code their creation a proper way. What a lame statement:

    The problem actually comes from certain third-party plugins calling flush_rewrite_rules(true) function too often.

    There is simply no such thing as “too often” in terms of software.

    Thread Starter BenPi

    (@mrbenpi)

    Okay, thank you very much for the follow-up!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem after plugin update’ is closed to new replies.