Title: .htaccess edit &#8211; causing 500 error
Last modified: May 6, 2024

---

# .htaccess edit – causing 500 error

 *  Resolved [tbyron](https://wordpress.org/support/users/tbyron/)
 * (@tbyron)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/htaccess-edit-causing-500-error/)
 * Today, all of my applications began generating a 500 internal server error; this
   was traced to the following edit in the .htaccess file:
 * <IfModule security2_module>
   SecRuleRemoveById 90000SecRuleRemoveById 114</IfModule
   >
 * Commenting it out resolved the issue. Is this a WordFence addition?

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

 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/htaccess-edit-causing-500-error/#post-17738124)
 * Hi [@tbyron](https://wordpress.org/support/users/tbyron/)
 * That code is related to a server firewall called ModSecurity and you will need
   to ask your hosting provider to resolve this for you.
 *  Thread Starter [tbyron](https://wordpress.org/support/users/tbyron/)
 * (@tbyron)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/htaccess-edit-causing-500-error/#post-17739050)
 * Thank you very much. Will resolve with them.

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

The topic ‘.htaccess edit – causing 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

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

 * 2 replies
 * 2 participants
 * Last reply from: [tbyron](https://wordpress.org/support/users/tbyron/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/htaccess-edit-causing-500-error/#post-17739050)
 * Status: resolved