WordPress htaccess rules to improve security and performance

Here I would like to share some htaccess rules that will help you to improve your wordpress site security and performance. I recommend you to contact your developer before adding these rules. To improve security. # Eliminating HTTP insertions RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ ///.*\ HTTP/ [NC,OR] RewriteCond …

Enabling GZIP compression for website.

In this article, I will explain how to enable GZIP compression. GZIP compression will help us to improve the site speed by compressing the site content before it serving to visitor’s browser.  If your site page size is  100kb or more, then GZIP compression is the great option to improve …