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 …