• Resolved manifestingaworkingsite

    (@manifestingaworkingsite)


    I’m working through initial setup and was told to come here to seek support.

    ” To make your site as secure as possible, the Wordfence Web Application Firewall is designed to run via a PHP setting called auto_prepend_file, which ensures it runs before any potentially vulnerable code runs. This PHP setting is currently in use, and is including this file:
    /var/wp-agent-modules/symlinks/wp-agent/bootstrap.php
    If you don’t recognize this file, please contact us on the WordPress support forums(opens in new tab) before proceeding. ”

    I don’t recognize this file. How can I proceed? To include or to override?

    The next instructions are:
    “You can proceed with the installation and we will include this from within our wordfence-waf.php file which should maintain compatibility with your site, or you can opt to override the existing PHP setting.”

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @manifestingaworkingsite, thanks for reaching out.

    That file path looks like it’s not in your local home directory, and it doesn’t reference any of the normal WordPress directories so I also can’t find it in reference to any other plugins.

    You should contact your hosting company about the file before making a decision with your firewall optimization as they may add this line as part of their configuration, so removing it may break something. If they do add it by design, you should choose the “INCLUDE” option for Wordfence optimization as that will allow the bootstrap.php file to load inside our wordfence-waf.php.

    In some rare cases, hosts may overwrite auto_prepend_file automatically on a schedule if they detect that it’s been changed, meaning Wordfence will be returned to Basic Protection only.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)

The topic ‘Support with Setup – Optimize Wordfence Firewall’ is closed to new replies.