Enabling GZIP compression

–Hi there, I can’t enable gzip compression. I added the text in .htaccess but no effect?

Hey Laura, how are you doing?

Could you grant support access from the dashboard plugin so we can take a closer look?

Please check this manual on how to enable support access:


— Done :slight_smile:


Did you check with your host that you have mod_deflate module enabled, and running in your system?


the module is loaded for as far as I can see

Before that, I would like you to disable all the plugins in your system, except WPMU DEV Dashboard, and then try clicking the “Re-check” button to see whether it works, or not.

–no luck

every plugin is disabled except wpmu and hummingbird

Could you please create a php.ini file in your root directory, and then add the following cod:

zlib.output_compression = On

Please click the “Re-check” button you have made the changes.

— I did, no change

That is really odd.

We’ll have to check this further, it’s better that I create a support ticket for this issue, so that we could give a closer look.

Ok will do!

  • Ken Kimbrell
    • The Crimson Coder

    Hello Laura,

    I ran a compression test on your url, and it shows that compression has not been enabled by your hosting provider. You can run a compression test here:


    Basically what it is saying is that your Apache server is not configured to accept gzip compression requests. You will need to talk to your hosting provider and ask them to enable mod_deflate if on an Apache server. Or ask your hosting provider to enable ngx_http_gzip_module for NGINX.

    Adding that line of code in the php.ini file will have no effect if the module itself has not been enabled by your hosting provider.

    Let me know if this helps!

    Take Care,

    Ken – WPMU DEV Support

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.