Solid Security htaccess question | WordPress.org

[ad_1]

Hi @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:

<IfModule mod_substitute.c>

SubstituteMaxLineLength 10M

</IfModule>

Here’s the original state of the .htaccess file: original and here’s after changing a System Tweaks setting: updated.

Let me know if this works on your end!

Thread Starter
Alusza

(@alusza)

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!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer