WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Gzip Compression] unable to activate gzip

[Plugin: WordPress Gzip Compression] unable to activate gzip

  • tutornotes
    Member

    @tutornotes

    I tried to activate grzip through adding codes to

    .htaccess as well, as shown below

    # Insert filters
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-httpd-php
    AddOutputFilterByType DEFLATE application/x-httpd-fastphp
    AddOutputFilterByType DEFLATE image/svg+xml

    # Drop problematic browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

    # Make sure proxies don’t deliver the wrong content
    Header append Vary User-Agent env=!dont-vary

    neither plugin nor codes work, please advise me. Thanks

  • The topic ‘[Plugin: WordPress Gzip Compression] unable to activate gzip’ is closed to new replies.