GZIP HTML Compression don’t work
-
Hi guys,
I have a problem only with html Gzip compression. CSS & JS works fine.
this is my .htaccess:
# BEGIN iThemes Security - No modifiques ni borres esta línea # iThemes Security Config Details: 2 # Banear servidores - Seguridad > Ajustes > Usuarios baneados SetEnvIF REMOTE_ADDR "^77\.68\.13\.238$" DenyAccess SetEnvIF X-FORWARDED-FOR "^77\.68\.13\.238$" DenyAccess SetEnvIF X-CLUSTER-CLIENT-IP "^77\.68\.13\.238$" DenyAccess SetEnvIF REMOTE_ADDR "^121\.42\.54\.54$" DenyAccess SetEnvIF X-FORWARDED-FOR "^121\.42\.54\.54$" DenyAccess SetEnvIF X-CLUSTER-CLIENT-IP "^121\.42\.54\.54$" DenyAccess SetEnvIF REMOTE_ADDR "^82\.223\.9\.195$" DenyAccess SetEnvIF X-FORWARDED-FOR "^82\.223\.9\.195$" DenyAccess SetEnvIF X-CLUSTER-CLIENT-IP "^82\.223\.9\.195$" DenyAccess <IfModule mod_authz_core.c> <RequireAll> Require all granted Require not env DenyAccess Require not ip 77.68.13.238 Require not ip 121.42.54.54 Require not ip 82.223.9.195 </RequireAll> </IfModule> <IfModule !mod_authz_core.c> Order allow,deny Allow from all Deny from env=DenyAccess Deny from 77.68.13.238 Deny from 121.42.54.54 Deny from 82.223.9.195 </IfModule> # END iThemes Security - No modifiques ni borres esta línea # 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 ErrorDocument 404 /index.php # BEGIN MainWP <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^wp-content/plugins/mainwp-child/(.*)$ /wp-content/plugins/THIS_PLUGIN_DOES_NOT_EXIST [QSA,L] </IfModule> # END MainWP RewriteCond %{HTTP_HOST} ^somoparque\.es$ [OR] RewriteCond %{HTTP_HOST} ^www\.somoparque\.es$ RewriteRule ^/?$ "http\:\/\/somoparque\.com" [R=301,L] # BEGIN WP-HUMMINGBIRD-GZIP <IfModule mod_deflate.c> <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 # BEGIN WP-HUMMINGBIRD-CACHING <IfModule mod_expires.c> ExpiresActive On ExpiresDefault A0 <FilesMatch "\.(txt|xml|js)$"> ExpiresDefault A691200 </FilesMatch> <FilesMatch "\.(css)$"> ExpiresDefault A691200 </FilesMatch> <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$"> ExpiresDefault A691200 </FilesMatch> <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$"> ExpiresDefault A691200 </FilesMatch> </IfModule> <IfModule mod_headers.c> <FilesMatch "\.(txt|xml|js)$"> Header set Cache-Control "max-age=691200" </FilesMatch> <FilesMatch "\.(css)$"> Header set Cache-Control "max-age=691200" </FilesMatch> <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$"> Header set Cache-Control "max-age=691200" </FilesMatch> <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$"> Header set Cache-Control "max-age=691200" </FilesMatch> </IfModule> # END WP-HUMMINGBIRD-CACHING # BEGIN MainWP Keyword Links Extension # END MainWP Keyword Links ExtensionI have this error: https://gyazo.com/f26dd814130cedeeec5b4e6f73e58feb
But i have the mod_deflate enabled. I have my own server and i enabled the module.
The page I need help with: [log in to see the link]
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
The topic ‘GZIP HTML Compression don’t work’ is closed to new replies.