Gzip is not turned on no matter what I do!
-
I try for a long time to turn on g-zip. My host says he changed something and it’s on, and my c-panel says it’s on too, but g-metrix says its off and other tools too. I tried every plugin on the planet and no plugin can turn it on. So how can I turn it on? I am not a techie! Zlib output compression is enabled also. I have linux mint on my computer but this probably makes no difference whatsoever.
The page I need help with: [log in to see the link]
-
I actually found my http access file and I had hummingbird installed in the past, but I did uninstall it because it was a major headache (site was constantly down) and this is what is says, sorry it’s lomg!
BEGIN All In One WP Security AIOWPS_BASIC_HTACCESS_RULES_START Require all denied Order deny,allow Deny from all
ServerSignature Off
LimitRequestBody 104857600
Require all denied Order deny,allow Deny from all AIOWPS_BASIC_HTACCESS_RULES_END END All In One WP Security BEGIN LSCACHE END LSCACHE BEGIN NON_LSCACHE END NON_LSCACHE BEGIN ShortPixelWebp The directives (lines) between "BEGIN ShortPixelWebp" and "END ShortPixelWebp" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten. END ShortPixelWebp Begin AIOWPSEC Firewall php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php'
php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php'
php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php' End AIOWPSEC Firewall Begin AIOWPSEC Firewall php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php'
php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php'
php_value auto_prepend_file '/home/ffplants/public_html/aios-bootstrap.php' End AIOWPSEC Firewall 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. END WP-HUMMINGBIRD-GZIP php -- BEGIN cPanel-generated handler, do not edit This domain inherits the “PHP” package. php -- END cPanel-generated handler, do not edit BEGIN WPSuperCache The directives (lines) between "BEGIN WPSuperCache" and "END WPSuperCache" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteBase / If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible AddDefaultCharset UTF-8
RewriteCond %{REQUEST_URI} !^.[^/]$ RewriteCond %{REQUEST_URI} !^.//.$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} ^$ RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{HTTPS} on RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f RewriteRule ^(.) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L] RewriteCond %{REQUEST_URI} !^.[^/]$ RewriteCond %{REQUEST_URI} !^.//.$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} ^$ RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{HTTPS} !on RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f RewriteRule ^(.) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L] RewriteCond %{REQUEST_URI} !^.[^/]$ RewriteCond %{REQUEST_URI} !^.//.$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} ^$ RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTPS} on RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f RewriteRule ^(.) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L] RewriteCond %{REQUEST_URI} !^.[^/]$ RewriteCond %{REQUEST_URI} !^.//.$ RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} ^$ RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{HTTPS} !on RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f RewriteRule ^(.) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
END WPSuperCache BEGIN WordPress The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress BEGIN cPanel-generated php ini directives, do not edit Manual editing of this file may result in unexpected behavior. To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) php_flag display_errors Off php_value max_execution_time 240 php_value max_input_time 300 php_value max_input_vars 1000 php_value memory_limit 192M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php81" php_value upload_max_filesize 48M php_flag zlib.output_compression On
php_flag display_errors Off php_value max_execution_time 240 php_value max_input_time 300 php_value max_input_vars 1000 php_value memory_limit 192M php_value post_max_size 64M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php81" php_value upload_max_filesize 48M php_flag zlib.output_compression On END cPanel-generated php ini directives, do not editand I also reinstalled wp optimize and this is what it says about Gzip:
We successfully added Gzip compression settings into .htaccess file. However, the test file we fetched was not Gzip-compressed. It seems one of Apache modules – mod_filter or mod_deflate – is not active.
- The topic ‘Gzip is not turned on no matter what I do!’ is closed to new replies.