Title: GZIP HTML Compression don&#8217;t work
Last modified: May 17, 2018

---

# GZIP HTML Compression don’t work

 *  Resolved [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/)
 * Hi guys,
 * I have a problem only with html Gzip compression. CSS & JS works fine.
 * this is my .htaccess:
 *     ```
       # BEGIN iThemes Security - No modifiques ni borres esta línea
       # iThemes Security Config Details: 2
       	# Banear servidores - Seguridad > Ajustes > Usuarios baneados
       	SetEnvIF REMOTE_ADDR "^77\.68\.13\.238$" DenyAccess
       	SetEnvIF X-FORWARDED-FOR "^77\.68\.13\.238$" DenyAccess
       	SetEnvIF X-CLUSTER-CLIENT-IP "^77\.68\.13\.238$" DenyAccess
   
       	SetEnvIF REMOTE_ADDR "^121\.42\.54\.54$" DenyAccess
       	SetEnvIF X-FORWARDED-FOR "^121\.42\.54\.54$" DenyAccess
       	SetEnvIF X-CLUSTER-CLIENT-IP "^121\.42\.54\.54$" DenyAccess
   
       	SetEnvIF REMOTE_ADDR "^82\.223\.9\.195$" DenyAccess
       	SetEnvIF X-FORWARDED-FOR "^82\.223\.9\.195$" DenyAccess
       	SetEnvIF X-CLUSTER-CLIENT-IP "^82\.223\.9\.195$" DenyAccess
   
       	<IfModule mod_authz_core.c>
       		<RequireAll>
       			Require all granted
       			Require not env DenyAccess
       			Require not ip 77.68.13.238
       			Require not ip 121.42.54.54
       			Require not ip 82.223.9.195
       		</RequireAll>
       	</IfModule>
       	<IfModule !mod_authz_core.c>
       		Order allow,deny
       		Allow from all
       		Deny from env=DenyAccess
       		Deny from 77.68.13.238
       		Deny from 121.42.54.54
       		Deny from 82.223.9.195
       	</IfModule>
       # END iThemes Security - No modifiques ni borres esta línea
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       ErrorDocument 404 /index.php
   
       # BEGIN MainWP
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^wp-content/plugins/mainwp-child/(.*)$ /wp-content/plugins/THIS_PLUGIN_DOES_NOT_EXIST [QSA,L]
       </IfModule>
   
       # END MainWP
       RewriteCond %{HTTP_HOST} ^somoparque\.es$ [OR]
       RewriteCond %{HTTP_HOST} ^www\.somoparque\.es$
       RewriteRule ^/?$ "http\:\/\/somoparque\.com" [R=301,L]
   
       # BEGIN WP-HUMMINGBIRD-GZIP
   
       <IfModule mod_deflate.c>
           <IfModule mod_setenvif.c>
               <IfModule mod_headers.c>
                   SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
                   RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
               </IfModule>
           </IfModule>
           <IfModule mod_filter.c>
               AddOutputFilterByType DEFLATE "application/atom+xml" \
                                             "application/javascript" \
                                             "application/json" \
                                             "application/ld+json" \
                                             "application/manifest+json" \
                                             "application/rdf+xml" \
                                             "application/rss+xml" \
                                             "application/schema+json" \
                                             "application/vnd.geo+json" \
                                             "application/vnd.ms-fontobject" \
                                             "application/x-font-ttf" \
                                             "application/x-font-opentype" \
                                             "application/x-font-truetype" \
                                             "application/x-javascript" \
                                             "application/x-web-app-manifest+json" \
                                             "application/xhtml+xml" \
                                             "application/xml" \
                                             "font/eot" \
                                             "font/opentype" \
                                             "font/otf" \
                                             "image/bmp" \
                                             "image/svg+xml" \
                                             "image/vnd.microsoft.icon" \
                                             "image/x-icon" \
                                             "text/cache-manifest" \
                                             "text/css" \
                                             "text/html" \
                                             "text/javascript" \
                                             "text/plain" \
                                             "text/vcard" \
                                             "text/vnd.rim.location.xloc" \
                                             "text/vtt" \
                                             "text/x-component" \
                                             "text/x-cross-domain-policy" \
                                             "text/xml"
   
           </IfModule>
           <IfModule mod_mime.c>
               AddEncoding gzip              svgz
           </IfModule>
   
       </IfModule>
       # END WP-HUMMINGBIRD-GZIP
       # BEGIN WP-HUMMINGBIRD-CACHING
   
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresDefault A0
   
       <FilesMatch "\.(txt|xml|js)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(css)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
       ExpiresDefault A691200
       </FilesMatch>
       </IfModule>
   
       <IfModule mod_headers.c>
         <FilesMatch "\.(txt|xml|js)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(css)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
       </IfModule>
       # END WP-HUMMINGBIRD-CACHING
       # BEGIN MainWP Keyword Links Extension
   
       # END MainWP Keyword Links Extension
       ```
   
 * I have this error: [https://gyazo.com/f26dd814130cedeeec5b4e6f73e58feb](https://gyazo.com/f26dd814130cedeeec5b4e6f73e58feb)
 * But i have the mod_deflate enabled. I have my own server and i enabled the module.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgzip-html-compression-dont-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10291652)
 * Hello [@50l3r](https://wordpress.org/support/users/50l3r/)
 * Could you please replace the content between **# BEGIN WP-HUMMINGBIRD-GZIP** 
   and **# END WP-HUMMINGBIRD-GZIP** with next one?
 *     ```
       <IfModule mod_deflate.c>
       	SetOutputFilter DEFLATE
           <IfModule mod_setenvif.c>
               <IfModule mod_headers.c>
                   SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
                   RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
               </IfModule>
           </IfModule>
           <IfModule mod_filter.c>
               AddOutputFilterByType DEFLATE "application/atom+xml" \
                                             "application/javascript" \
                                             "application/json" \
                                             "application/ld+json" \
                                             "application/manifest+json" \
                                             "application/rdf+xml" \
                                             "application/rss+xml" \
                                             "application/schema+json" \
                                             "application/vnd.geo+json" \
                                             "application/vnd.ms-fontobject" \
                                             "application/x-font-ttf" \
                                             "application/x-font-opentype" \
                                             "application/x-font-truetype" \
                                             "application/x-javascript" \
                                             "application/x-web-app-manifest+json" \
                                             "application/xhtml+xml" \
                                             "application/xml" \
                                             "font/eot" \
                                             "font/opentype" \
                                             "font/otf" \
                                             "image/bmp" \
                                             "image/svg+xml" \
                                             "image/vnd.microsoft.icon" \
                                             "image/x-icon" \
                                             "text/cache-manifest" \
                                             "text/css" \
                                             "text/html" \
                                             "text/javascript" \
                                             "text/plain" \
                                             "text/vcard" \
                                             "text/vnd.rim.location.xloc" \
                                             "text/vtt" \
                                             "text/x-component" \
                                             "text/x-cross-domain-policy" \
                                             "text/xml"
   
           </IfModule>
           <IfModule mod_mime.c>
               AddEncoding gzip              svgz
           </IfModule>
   
       </IfModule>
       ```
   
 * Then “**Re-check Status**” as shown here:
    [https://monosnap.com/file/V3UZZqPY8wOdgihvWWCt3xZa1Wd90F](https://monosnap.com/file/V3UZZqPY8wOdgihvWWCt3xZa1Wd90F)
 * Warm regards,
    Dimitris
 *  Thread Starter [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10291843)
 * Edited and recheck but problem persist
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       # BEGIN WP-HUMMINGBIRD-CACHING
   
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresDefault A0
   
       <FilesMatch "\.(txt|xml|js)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(css)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
       ExpiresDefault A691200
       </FilesMatch>
   
       <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
       ExpiresDefault A691200
       </FilesMatch>
       </IfModule>
   
       <IfModule mod_headers.c>
         <FilesMatch "\.(txt|xml|js)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(css)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
   
         <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
       </IfModule>
       # END WP-HUMMINGBIRD-CACHING
   
       # BEGIN WP-HUMMINGBIRD-GZIP
   
       <IfModule mod_deflate.c>
       	SetOutputFilter DEFLATE
           <IfModule mod_setenvif.c>
               <IfModule mod_headers.c>
                   SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
                   RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
               </IfModule>
           </IfModule>
           <IfModule mod_filter.c>
               AddOutputFilterByType DEFLATE "application/atom+xml" \
                                             "application/javascript" \
                                             "application/json" \
                                             "application/ld+json" \
                                             "application/manifest+json" \
                                             "application/rdf+xml" \
                                             "application/rss+xml" \
                                             "application/schema+json" \
                                             "application/vnd.geo+json" \
                                             "application/vnd.ms-fontobject" \
                                             "application/x-font-ttf" \
                                             "application/x-font-opentype" \
                                             "application/x-font-truetype" \
                                             "application/x-javascript" \
                                             "application/x-web-app-manifest+json" \
                                             "application/xhtml+xml" \
                                             "application/xml" \
                                             "font/eot" \
                                             "font/opentype" \
                                             "font/otf" \
                                             "image/bmp" \
                                             "image/svg+xml" \
                                             "image/vnd.microsoft.icon" \
                                             "image/x-icon" \
                                             "text/cache-manifest" \
                                             "text/css" \
                                             "text/html" \
                                             "text/javascript" \
                                             "text/plain" \
                                             "text/vcard" \
                                             "text/vnd.rim.location.xloc" \
                                             "text/vtt" \
                                             "text/x-component" \
                                             "text/x-cross-domain-policy" \
                                             "text/xml"
   
           </IfModule>
           <IfModule mod_mime.c>
               AddEncoding gzip              svgz
           </IfModule>
   
       </IfModule>
       # END WP-HUMMINGBIRD-GZIP
       ```
   
 * I use Cpanel
    -  This reply was modified 7 years, 12 months ago by [50l3r](https://wordpress.org/support/users/50l3r/).
    -  This reply was modified 7 years, 12 months ago by [50l3r](https://wordpress.org/support/users/50l3r/).
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10292196)
 * Hello [@50l3r](https://wordpress.org/support/users/50l3r/)
 * Hope you’re doing well!
 * Please let us know which PHP version is running on your site? Have you already
   tried disabling other plugins to make sure something from there is not blocking
   it?
 * If the plugin is not blocking it, please replace the Hummingbird rules from `#
   BEGIN WP-HUMMINGBIRD-GZIP` until `# END WP-HUMMINGBIRD-GZIP` above with this:
 *     ```
       <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
   
         # Remove browser bugs (only needed for really old 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>
       ```
   
 * Let us know how it went!
 * Cheers,
    Nastia
 *  Thread Starter [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10292365)
 * I put this htaccess code between #BEGIN WP-HUMMINGBIRD-GZIP and #END WP-HUMMINGBIRD-
   GZIP and disable most plugins.
 * My active plugins:
 * – Hummingbird
    – Maintenance – Slider Revolution – ThemeREX Addons – WooCommerce–
   WP Smush – WPBakery Visual Composer
 * Now, i recieve the error with one more warning:
 * [https://gyazo.com/40e5f9728bdd15efbb497e545d739456](https://gyazo.com/40e5f9728bdd15efbb497e545d739456)
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10294715)
 * Hello [@50l3r](https://wordpress.org/support/users/50l3r/)
 * Can you try to disable all other plugins apart from HummingBird and activate 
   a default theme like TwentySeventeen to ensure that there’s no kind of conflict?
   
   Prior to that, please do backup all files and database, so you can restore back
   in case you lose any settings. Even better, if you can create [a staging environment](https://themeisle.com/blog/wordpress-staging-site/)
   and perform the test in there.
 * Additionally, please contact your hosting provider to double check that rules
   in **.htaccess** are taking place and don’t get overridden by other server rules.
 * Warm regards,
    Dimitris
 *  Thread Starter [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10317240)
 * I try to disable all plugins except hummingbird and change theme to TwentySeventeen
   but didnt works.
 * Also i enabled the full compression in cpanel, but html did not work.
 * But when i try to check a html file like ‘readme.html’ compression works: [https://checkgzipcompression.com/?url=http%3A%2F%2Fbelencruzmoda.com%2Freadme.html](https://checkgzipcompression.com/?url=http%3A%2F%2Fbelencruzmoda.com%2Freadme.html)
 * im the hosting provider
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10317877)
 * Hi [@50l3r](https://wordpress.org/support/users/50l3r/),
 * Please try to enable zlib.output_compression, by placing
    `php_flag zlib.output_compression
   on` in you .htaccess file.
 * Best regards,
    Anton
 *  Thread Starter [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10319466)
 * I already hace this flag
 * This is my htacess:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       # BEGIN WP-HUMMINGBIRD-CACHING
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresDefault A0
       <FilesMatch "\.(txt|xml|js)$">
       ExpiresDefault A691200
       </FilesMatch>
       <FilesMatch "\.(css)$">
       ExpiresDefault A691200
       </FilesMatch>
       <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
       ExpiresDefault A691200
       </FilesMatch>
       <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
       ExpiresDefault A691200
       </FilesMatch>
       </IfModule>
       <IfModule mod_headers.c>
         <FilesMatch "\.(txt|xml|js)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
         <FilesMatch "\.(css)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
         <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
         <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
          Header set Cache-Control "max-age=691200"
         </FilesMatch>
       </IfModule>
       # END WP-HUMMINGBIRD-CACHING
       # BEGIN WP-HUMMINGBIRD-GZIP
   
       <IfModule mod_deflate.c>
       	SetOutputFilter DEFLATE
           <IfModule mod_setenvif.c>
               <IfModule mod_headers.c>
                   SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
                   RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
               </IfModule>
           </IfModule>
           <IfModule mod_filter.c>
               AddOutputFilterByType DEFLATE "application/atom+xml" \
                                             "application/javascript" \
                                             "application/json" \
                                             "application/ld+json" \
                                             "application/manifest+json" \
                                             "application/rdf+xml" \
                                             "application/rss+xml" \
                                             "application/schema+json" \
                                             "application/vnd.geo+json" \
                                             "application/vnd.ms-fontobject" \
                                             "application/x-font-ttf" \
                                             "application/x-font-opentype" \
                                             "application/x-font-truetype" \
                                             "application/x-javascript" \
                                             "application/x-web-app-manifest+json" \
                                             "application/xhtml+xml" \
                                             "application/xml" \
                                             "font/eot" \
                                             "font/opentype" \
                                             "font/otf" \
                                             "image/bmp" \
                                             "image/svg+xml" \
                                             "image/vnd.microsoft.icon" \
                                             "image/x-icon" \
                                             "text/cache-manifest" \
                                             "text/css" \
                                             "text/html" \
                                             "text/javascript" \
                                             "text/plain" \
                                             "text/vcard" \
                                             "text/vnd.rim.location.xloc" \
                                             "text/vtt" \
                                             "text/x-component" \
                                             "text/x-cross-domain-policy" \
                                             "text/xml"
   
           </IfModule>
           <IfModule mod_mime.c>
               AddEncoding gzip              svgz
           </IfModule>
   
       </IfModule>
       # END WP-HUMMINGBIRD-GZIP
       # php -- BEGIN cPanel-generated handler, do not edit
       # Configure el paquete “ea-php70” como el lenguaje de programación predeterminado “PHP”.
       <IfModule mime_module>
         AddType application/x-httpd-ea-php70 .php .php7 .phtml
       </IfModule>
       # php -- END cPanel-generated handler, do not edit
       # BEGIN cPanel-generated php ini directives, do not edit
       # Manual editing of this file may result in unexpected behavior.
       # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
       # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
       <IfModule php7_module>
          php_flag display_errors Off
          php_value max_execution_time 30
          php_value max_input_time 60
          php_value max_input_vars 1000
          php_value memory_limit 64M
          php_value post_max_size 20M
          php_value session.gc_maxlifetime 1440
          php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
          php_value upload_max_filesize 15M
          php_flag zlib.output_compression On
       </IfModule>
       # END cPanel-generated php ini directives, do not edit
       ```
   
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10327646)
 * Hello [@50l3r](https://wordpress.org/support/users/50l3r/)
 * Could you please try to move the whole
 *     ```
       <IfModule php7_module>
       ...
       </IfModule>
       ```
   
 * part, above the **# BEGIN WP-HUMMINGBIRD-GZIP**, and re-check status of GZIP 
   in HummingBird?
 * Warm regards,
    Dimitris
 *  Thread Starter [50l3r](https://wordpress.org/support/users/50l3r/)
 * (@50l3r)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10343626)
 * Edited follow your steps: [https://pastebin.com/kDgs5F5y](https://pastebin.com/kDgs5F5y)
 * But problem persist :S
 * PD: Thanks for your patience and for this great plugin 🙂
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10345747)
 * Hello [@50l3r](https://wordpress.org/support/users/50l3r/)
 * It does look like the check that Hummingbird is doing is failing for HTML.
    This
   is escalated to our developers who will further investigate this. Until then,
   rest ensure that GZIP is working good, as also stated in this external checker:
   [https://checkgzipcompression.com/?url=http%3A%2F%2Fbelencruzmoda.com%2Freadme.html](https://checkgzipcompression.com/?url=http%3A%2F%2Fbelencruzmoda.com%2Freadme.html)
 * Warm regards,
    Dimitris
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10441035)
 * This should be fixed in latest version 1.9.1 so I mark the topic as resolved.
 * Feel free to post back here, if you’re still struggling with this issue. 🙂
 * Warm regards,
    Dimitris

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘GZIP HTML Compression don’t work’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

## Tags

 * [compression](https://wordpress.org/support/topic-tag/compression/)
 * [gzip](https://wordpress.org/support/topic-tag/gzip/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * 12 replies
 * 4 participants
 * Last reply from: [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/gzip-html-compression-dont-work/#post-10441035)
 * Status: resolved