Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Gzip is not working properly

$
0
0

Replies: 0

Hi,
We have loaded Hummingbird plugin, and the Gzip compression is giving us the following message:

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.

We have been in contact with our host (crazydomains), and they have enabled the extension for zip and following this advised that “this plugin may require additional scripting in the htaccess. From their end they can only ensure to activate the zip extension”.

The host then followed up with with the following message:
we have identified this to be a scripting concern, and I took the liberty to check further and added this in the .htaccess inside the file manager:

# BEGIN GZIP COMPRESSION
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# END GZIP COMPRESSION

I have re-checked status, but still receiving error. Does anyone have a solution to this?

WP is up to date, and all plugins updated. We have Divi theme being used.
Thanks in advance,
Matt


Viewing all articles
Browse latest Browse all 59525

Trending Articles