GZIP Compression Not Working ... Please Help !!!

Discussion in 'WordPress' started by Rajnish357, Nov 26, 2011.

  1. #1
    My .htaccess looks like this
    
    # 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>
    
    # END WordPress
    
    <FilesMatch "\.(?i:doc|mp3)$">
      Header set Content-Disposition attachment
    </FilesMatch>
    
    #GZip compression
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>
    PHP:
    BUT THE GZIP NOT WORKING
     
    Rajnish357, Nov 26, 2011 IP
  2. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #2
    Have you tried contacting your web host? They may be able to point you in the right direction. Good luck.
     
    AlohaThemes.com, Nov 29, 2011 IP
  3. drkunalup

    drkunalup Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try using the gzip plugin, even though the .htaccess doesn't work, this should work in most cases.
     
    drkunalup, Dec 3, 2011 IP