Enable Gzip Compression Using .htaccess

Prem Tiwari - - WordPress Snippets

How to Enable Gzip Compression
Enables gzip-compression will speed up your WordPress website drastically and reduces bandwidth usage as well. If you have developed your website in wordpress CMS and looking for enable gzip compression, then you two option to do this :

1) Using WordPress Plugin
You can install WordPress Gzip Compression plugin in order to enable gzip compression in your website or you can do by using second option.

2) Enable Gzip Compression Using .htaccess

Add below code  to your .htaccess file.  It will  drastically reduce HTTP response time to your server.

About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , ,