• Resolved allurewebsolutions

    (@allurewebsolutions)


    I have a composer based WP installation (Roots Bedrock). Every time I update core using composer update, the wordfence-waf.php file gets wiped from the web directory.

    Is there a way to have that file rewritten after upgrade? Or maybe the location changed to a persistent non-composer managed directory?

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

    (@wfphil)

    Hi,

    You can move the wordfence-waf.php file to another directory of your choosing in WordPress, as long as Composer doesn’t delete the file from the new location.

    You will need to update the wordfence-waf.php file path value for the auto_prepend_file PHP directive. Depending on your server environment that will be set in either php.ini, .user.ini or .htaccess

    Please let me know how it proceeds.

    Thank you,

Viewing 1 replies (of 1 total)

The topic ‘Composer based WP and WAF Issue’ is closed to new replies.