• Resolved medi3

    (@medi3)


    Hey people,

    I am having an issue with my site GZIP seems to not work properly.

    Getting an error code:

    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. If re-checking and restarting does not resolve, please check with your host or open a support ticket.

    Mod_deflate is enabled on Apache server.. the host doesn’t have nginx servers.. htaccess file loooks like this:
    # BEGIN WP-HUMMINGBIRD-GZIP
    # The directives (lines) between “BEGIN WP-HUMMINGBIRD-GZIP” and “END WP-HUMMINGBIRD-GZIP” are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <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

    • This topic was modified 5 years, 6 months ago by medi3.
    • This topic was modified 5 years, 6 months ago by medi3.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter medi3

    (@medi3)

    please delete this topic, the problem is solved.

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @medi3

    I hope you’re well today!

    Thanks for letting us know that the issue is solved.

    I’m not able to delete the ticket so I’ve marked it as resolved for now. If you got any follow-up question on that GZIP issue, please feel free to re-open it.

    Have a nice day,
    Adam

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

The topic ‘Having problems with gzip’ is closed to new replies.