Title: Optimizing the firewall
Last modified: March 1, 2018

---

# Optimizing the firewall

 *  Resolved [bjf2000](https://wordpress.org/support/users/bjf2000/)
 * (@bjf2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/optimizing-the-firewall/)
 * I just wanted to run these basics past you to hopefully ensure that what WF is
   thinking for the firewall optimization (Litespeed/Isapi) is correct (it would
   seem to be) and that it’s just going to modify .htaccess in this case.
 * The only file that it prompts to backup is .htaccess (I have not actually attempted
   going past that point yet).
 * Cpanel (68.0.29)-hosted WP. Single site/hosting account. It’s not SiteGround 
   but could be a “similar host” to it for all I know (in reference to your KB article
   about this).
 * WF: 7.1.0 (1519855237)
    PHP 7.1.14 PHP Selector in cPanel: auto_prepend_file 
   set to null (“”) for PHP 7.1 Server API field in “Other tests”: LiteSpeed V6.11
 * If all it’s going to do in our case is modify .htaccess (given that it’s the 
   only one backed up), then it would be easy enough to revert should things go 
   south.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foptimizing-the-firewall%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/optimizing-the-firewall/#post-10046863)
 * Hi [@bjf2000](https://wordpress.org/support/users/bjf2000/)
    I confirm that since
   your server has “LiteSpeed” installed and configured, then the only file needs
   to be modified is “.htaccess” in that case, and as you mentioned it will be a
   simple one file replacement (from the backup) in case something went wrong.
 * Thanks.
 *  Thread Starter [bjf2000](https://wordpress.org/support/users/bjf2000/)
 * (@bjf2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/optimizing-the-firewall/#post-10054961)
 * Thanks. We went ahead and enabled it and all was well.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Optimizing the firewall’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [bjf2000](https://wordpress.org/support/users/bjf2000/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/optimizing-the-firewall/#post-10054961)
 * Status: resolved