Title: Solid Security htaccess question
Last modified: May 21, 2024

---

# Solid Security htaccess question

 *  Resolved [Alusza](https://wordpress.org/support/users/alusza/)
 * (@alusza)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/solid-security-htaccess-question/)
 * I’m having a heck of a time with GoDaddy. Visual Composer wouldn’t work until
   I added the following directive after #END WordPress in htaccess: SubstituteMaxLineLength
   10M. That fixed it. However, here’s how this relates to htaccess and Solid Security.
   If I change some settings in Solid Security, htaccess is updated by Solid Security
   plugin. If I have the line in question after #END WordPress in htaccess, will
   that line be removed from htaccess by Solid Security settings changes I make?
   Some advice would be helpful. Thank you!
    -  This topic was modified 2 years, 4 months ago by [Alusza](https://wordpress.org/support/users/alusza/).

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

 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/solid-security-htaccess-question/#post-17772757)
 * Hi [@alusza](https://wordpress.org/support/users/alusza/), glad you reached out.
 * I tested this on a test site and I can confirm that while Solid Security updates
   the .htaccess file after changes to settings, the code won’t be removed. Here’s
   how I added it after the `# END WordPress` in my .htaccess file:
 *     ```wp-block-code
       <IfModule mod_substitute.c>
   
       SubstituteMaxLineLength 10M
   
       </IfModule>
       ```
   
 * Here’s the original state of the .htaccess file: [original](https://share.zight.com/OAuZqAq8)
   and here’s after changing a System Tweaks setting: [updated](https://share.zight.com/jkupZbDq).
 * Let me know if this works on your end!
 *  Thread Starter [Alusza](https://wordpress.org/support/users/alusza/)
 * (@alusza)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/solid-security-htaccess-question/#post-17773371)
 * Thanks so much for the quick and helpful response! Yup, I just did a similar 
   test and all is well. This answer not only helped me, but likely many others 
   hosting on a GoDaddy shared server. Thanks again!
 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/solid-security-htaccess-question/#post-17773410)
 * You’re most welcome!
 * If you have the chance, we’d love to get a kind review from you [here](https://wordpress.org/support/plugin/better-wp-security/reviews/#new-post),
   and it would mean a whole lot for you to share.
 * Cheers!

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

 The topic ‘Solid Security htaccess question’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3624806)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/solid-security-htaccess-question/#post-17773410)
 * Status: resolved