Enabling GZIP Compression
-
Hi
I am a bit lost with all the different .htaccess files that BPS shows in wp dashboard.
I have quick cache plugin and to enable GZIP Compression I have to add the following lines to the .htacess but I don’t know which .htaccess (root, wp-admin?):
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
AddOutputFilterByType DEFLATE font/truetype font/opentype
</IfModule>So my question is: where do I put these lines?
Is this a custom code? Or do I only need to go to Edit/upload/Download” and add the lines to one the .htaccess file? And which one?
Thanks
- The topic ‘Enabling GZIP Compression’ is closed to new replies.