Support » Plugin: Wordfence Security - Firewall & Malware Scan » IMPORTANT! wordfence-waf.php not recognised

  • Resolved tettt

    (@tettt)


    Hi,

    I have seen a notification saying: “To make your site as secure as possible, take a moment to optimize the Wordfence Web Application Firewall” on the Dashboard. Following the instructions, I have checked for the wordfence-waf.php and it is NOT there.

    I have also checked under Tools > Diagnostics > Wordfence Firewall Current WAF configuration > WAF auto prepend active and it says: NO

    What should I do now?

    Should I continue with the process by hitting the INCLUDE button or shall I wait for further instructions from you.

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @tettt,

    I would expect the file to reside in the root directory of your WordPress installation after an optimization and new lines to be added to your .htaccess or .user.ini file to point at this location. You could always look inside those files to see if they’ve been altered to include a path to wordfence-waf.php.

    It is possible that permissions on your installation prevented this from happening as intended. The permissions on your WordPress site’s directories should be 755 and that the owner on your WordPress root directory (and all contained directories) is www-data. Web servers such as Apache, Nginx, etc will require www-data to be an owner so that WordPress and plugins can update and run functions required to do so.

    Let me know if any changes there and another attempt at optimization still doesn’t create the necessary file and/or changes.

    Thanks,

    Peter.

    Thread Starter tettt

    (@tettt)

    Thank you Peter for your kind support.

    Actually, I am not that techie. Do you think re-installing the plugin would help? If that can help, I will do it right away.

    Thanks Peter

    Plugin Support wfpeter

    (@wfpeter)

    Hi @tettt,

    Following our remove/reset instructions and performing a reinstall could be the solution, but if the permissions are ultimately blocking the file creation, you may need to speak with your hosting provider/server administrator to help you in achieving the changes needed.

    Thanks,

    Peter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.