Title: Remove Wordfence WAF Optimization
Last modified: August 13, 2020

---

# Remove Wordfence WAF Optimization

 *  Resolved [rishabhsingh12](https://wordpress.org/support/users/rishabhsingh12/)
 * (@rishabhsingh12)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-wordfence-waf-optimization/)
 * I was optimizing Wordfence WAF.
    I clicked on configure > Manual Configuration
   > Continue.
 * Then it showed me this message:
    The required file has been created. Please add
   this code in your php.ini file:
 * auto_prepend_file = ‘/home/customer/www/**(my domain name)**/public_html/wordfence-
   waf.php’
 * Now I think that I don’t need this feature currently, so I did not add the above
   line in my php.ini
 * But where can I find that “required file” which it has created? So, that I can
   delete it too and undo the optimization completely.

Viewing 1 replies (of 1 total)

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-wordfence-waf-optimization/#post-13249842)
 * Thanks for reaching out.
 * Look for wordfence-waf.php in the root of your WordPress installation and delete
   that.
 * Tim

Viewing 1 replies (of 1 total)

The topic ‘Remove Wordfence WAF Optimization’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [technical](https://wordpress.org/support/topic-tag/technical/)

 * 1 reply
 * 2 participants
 * Last reply from: [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/remove-wordfence-waf-optimization/#post-13249842)
 * Status: resolved