We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48272
    • 24 Posts
    Since 02-08-2018 our .htaccess-file is automatically changed.

    The following lines are inserted on top of the file:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^/index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . //index.php [L]
    </IfModule>

    After that the accessrights are set to "444".

    We didn't make any changes in settings. And we didn't update a plugin or ModX.

    Is this a know feature, bug of hack? I hope someone has a explanation or a hint how to investigate further.

    It looks like this: https://codex.wordpress.org/htaccess.

    Thanks in advance.

    Erwin

    This question has been answered by egraaf. See the first response.

      • 42562
      • 1,145 Posts
      Maybe your server control panel. Some over-helping software?
      Cloudflare through Bluehost could marvelously alter that file.
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
      • discuss.answer
        • 48272
        • 24 Posts
        My site was compromissed. That caused the problem. Is now upgraded to 2.6.5.