How to enable GZIP compression using .htaccess

Add the following to the top of your .htaccess file in the root public folder of your website: <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE...

HTTP security for Divi WordPress websites

To improve the security of your website extra headers can be added to your website using .htaccess. If you’re using Divi in your WordPress website, add the following to your .htaccess file (at the top). # Server Security <IfModule mod_headers.c> Header set...