How to enable gzip compression on my website

28. June 2014 SysAdmin 0

Issue

  • Gzip compression wordpress
  • SEO recommends to enable gzip compression on web contents.
  • Enable gzip on your website to improve the Page Speed Grade on gtmetrix.com and load time on webpagetest.org
  • How do i enable gzip without root access to the server ?
  • How do i enable gzip with .htaccess rules.
  • How do i enable gzip compression on my wordpress / joomla / django website.

Environment

  • Websites running on Apache web-server.
  • All shared hosting accounts.

Solution

Add the Following content in your .htaccess File.

Now go to gtmetrix.com and test your site. You should see 100% gzip compression.

 

Read How to enable Leverage Browser Caching in website with .htaccess

0 0 votes
Article Rating

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments