Your server may not have the “deflate” module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX). Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied. If re-checking and restarting does not resolve, please check with your host or?open a support ticket.
However, when I check the site console, Gzip is active on javascript and css.
We’ve activated all the parameters on our server-side plesk.
Thanks for your help,
Other pages do show content-encoding: gzip enabled.
Example page – https://greentealobby.com/is-green-tea-a-diuretic
Screenshot – https://prnt.sc/1qlmzng
Not sure if this screenshot would help – https://prnt.sc/1qlnadv
Gzip is not working properly:
Gzip compression seems not to be working. Perhaps the mod_deflate module is not active. Any idea please.
I am trying to enable gzip compression with hummingbird plugin but everytime i get an error saying that html compression not working. I checked .htaccess as well and code is all there. Other type of compressions are working and only html is having issue. Can you please help me on this.
Thanks
]]>In addition, I get that gzip is active for java and css but not html. I reached out to go daddy again and they blamed the plugs and said there was nothing they can do because they said the GZIP is enabled on their end. I was told to purchase a cpanal and that will enable me to enable gzip. My server type is Apache. Is there any way to solve this issue.
]]>add_filter(‘autoptimize_filter_cache_create_static_gzip’,__return_true);
Also, I plan on upgrading to PHP7.2 soon, will this snippet work now for PHP5.6 and 7.2 after upgrade?:
add_filter(‘autoptimize_filter_cache_create_static_gzip’,’__return_true’);
I get Gzip is not working properly error on my site after running the plugin . after contacting my hosting support team they are confirmed all the modes are enabled. mod_deflate, mod_setenvif, mod_headers, mod_filter, mod_mime
this is the exact error I’m getting
Gzip is not working properly:
– Your server may not have the “deflate” module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX).
– Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied.
after checking my htaccess file I can see that coding entered by Hummingbird.
My WordPress Version 4.9.8
Hummingbird version Version 1.9.1
server OS Centos 7.5
web server Apache
At the recommendation of Nastia for another user, I did talk to my host GoDaddy about the Apache deflate module and they asked me to put the following in the .htaccess together with the Gzip script from Hummingbird:
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
My site is https://www.Unboundedlife.com as well as https://www.ginkgosociety.org (same hosting on GoDaddy Apache server) and my .htaccess is as follows:
RewriteOptions inherit
# 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>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
# END WordPress
# 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
# 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
—
I have tried all the previous recommendations including starting and restarting the module, creating a line in the php.ini file. All failed to resolve.
I have 4 Wp sites and more coming that I want to upgrade to Hummingbird Pro, but not until this basic Gzip functionality can work in the free version.
Thank you,
Chris
Gzip is not working properly:
– Your server may not have the “deflate” module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX).
– Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied.
My hosting is in 1and1 and Gzip is enabled
Can you help me please ?
Regards
Rafael