Title: Optimize WordPress Firewall 500 error
Last modified: September 1, 2024

---

# Optimize WordPress Firewall 500 error

 *  Resolved [lowhill](https://wordpress.org/support/users/lowhill/)
 * (@lowhill)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/optimize-wordpress-firewall-500-error/)
 * When I click Optimize WordPress Firewall, download the .htaccess, and proceed,
   I get a 500 error on my site.
 * I checked the contents of the .htaccess file and verified that wordfence-waf.
   php is in the correct path, but I got an error, so I don’t know at this point.

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/optimize-wordpress-firewall-500-error/#post-17990688)
 * Hi [@lowhill](https://wordpress.org/support/users/lowhill/)
 * Please restore the backup of your HTACCESS file.
 * Then send your Wordfence diagnostics report.
 * Update to the latest version of Wordfence if you haven’t already done so.
 * Please send your Wordfence diagnostics report. Go to the top of the “**_Diagnostics_**”
   tab on the Wordfence “**_Tools_**” page. There will be a “**_SEND REPORT BY EMAIL_**”
   button to send the diagnostics report. Enter **_wftest [at] wordfence [dot] com_**
   as the email and **_lowhill_** as the forum username please.
   Once you have emailed
   me the diagnostics report can you reply here to let me know that it has been 
   sent. This is important in the unlikely event that your installation of WordPress
   is having an issue with sending mail.

Viewing 1 replies (of 1 total)

The topic ‘Optimize WordPress Firewall 500 error’ 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

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

 * 1 reply
 * 2 participants
 * Last reply from: [wfphil](https://wordpress.org/support/users/wfphil/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/optimize-wordpress-firewall-500-error/#post-17990688)
 * Status: resolved