Skip to content

Instantly share code, notes, and snippets.

@webhasan
Created July 7, 2014 11:49
Show Gist options
  • Save webhasan/d9ff4c01359ac644f7b0 to your computer and use it in GitHub Desktop.
Save webhasan/d9ff4c01359ac644f7b0 to your computer and use it in GitHub Desktop.
WP ENABLE GIZIP
/***
Enable Gzip Compression
***/
.htaccess code
..............
***Start Bellow ****
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
***End***
**Check is it enabled gizip**
http://checkgzipcompression.com/
It is not working this process follow the following link
http://www.feedthebot.com/pagespeed/enable-compression.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment