• Hello!

    I have a wordpress site installed at the root (/) directory of my webserver and mautic installed in a subfolder (/m/).

    I could see that wordfense is acting on this subfolder as well overthought it has their own .htaccss file.

    The error is bellow.

    ————
    [2016-12-27 12:41:52] mautic.ERROR: Notice: Undefined variable: undefinedVariable – in file /wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/rules.php – at line 922 [] []
    ————

    My question is: How can I make wordfense not ACT in this subfolder (/m/) where I have mautic installed? How can I make this subfolder completelly independent?

    Thanks.

Viewing 1 replies (of 1 total)
  • Hi,
    In the root directory of your web server, check either “.htaccess” or “.user.ini” file depending on your server configuration, you should see a code snippet added by Wordfence with something like:
    auto_prepend_file pointing to “wordfence-waf.php” file, you could copy this snippet and add it to “.htaccess” or “.user.ini” file inside your sub-folder (/m/) and set auto_prepend_file to an empty value there.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I make wordfense not ACT in a website subfolder’ is closed to new replies.