ENABLE GZIP COMPRESSION .htacess

Paste in htacess file
<IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Removing browser bugs for older browsers BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 How to Prevent Wordpress Hacking

How to Prevent Wordpress Hacking    WordPress is a free open-source blogging tool and also the...

Hardening WordPress

Hardening WordPressSecurity in WordPress is taken very seriously, but as with any other system...

DEACTIVATE ALL PLUGINS WITHOUT ACCESSING WP-ADMIN?

You can deactivate all WordPress plugins either through FTP or through cPanel file manager. :...

HOW TO FIX THE 500-INTERNAL SERVER ERROR IN WORDPRESS

Cause 1 :: Corrupt .htaccess File If your .htaccess file is corrupt and it can cause a 500...

WHITE SCREEN OF Wordpress

Memory exhaustion is one of the most common reason behind white screen of death error. To fix...

Powered by WHMCompleteSolution