Home Wordpress Tips Enable Gzip Compression in WordPress

Enable Gzip Compression in WordPress


Ever since we have been experiencing several changes in Google Algorithm, We not just need to optimize our articles with best SEO Practices. But also require to optimize our website. What would happen if someone lands on your website, but before the page loads totally, he leaves your page. Well This is what the scenario is when your website takes time to load. Google has driven the users to a very bad habit of getting quick results. Therefore we need to optimize our webpages for faster loading. Here we are talking about enabling GZIP compression to reach our goal. Following 3 methods that can be used to Enable Gzip Compression in WordPress.

Why do we Enable Gzip Compression in WordPress

There are number of benefits to enable Gzip compression as it’s the most used and trusted method to load your website faster by reducing more than 70% page size of your webpage. Though, these days plenty of the sites are using Gzip compression across the web. After Gzip compression your website will load in just a few seconds.

Also Read – Metro Style Social Media Widget for Blogger

Enable Gzip Compression

Also Read – WordPress Tips to make your blog more Search Engine Friendly

1- Enable Gzip Compression using W3 Total Cache WordPress Plugin

W3 Total Cache is one of the most popular plugins used by wordpress users to improve the site performance. It also provides a feature to Gzip.

Also Read – Block Spam Comments – Get Free Akismet API key


You can Enable Gzip compression in W3 Total Cache here

Go to Performance -> Browser Cache

Enable Gzip Compression using W3 Cache plugin

Also Read – Free Advanced Social Widget for Blogger and WordPress

2 – Enable Gzip Compression via .htaccess

<h5># compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddType x-font/otf .otf
AddType x-font/ttf .ttf
AddType x-font/eot .eot
AddType x-font/woff .woff
AddType image/x-icon .ico
AddType image/png .png 

3 – Enable Gzip Compression using WP HTTP Compression Plugin

Http Compression plugin allows you to get a Gzip enabled format.

To use this plugin, you just need to download, install and activate it. This plugin doesn’t have any setting page as it works automatically in the back end. You may check the optimized results on Google page speed analyzer Here.

Previous articleIncrease Search Traffic in Blogger by Change in Title Tags
Next articleSamsung Galaxy S6 Features and Specs
He is a 27 year old guy who is instilled with the art of Blogging, He loves to Blog day in and day out,He is a Network Engineer and a always keen at learning . Connect with him on Facebook, Follow on Twitter and Google+


  1. […] Recommended – Increase Page loading Speed […]

  2. Thanks for this great post< I knew about Gzip but it was always seems as very complicated, now with plugins you have suggested any one can implement is very easly

Share your Experience