Gzip not applied 
Autor: Donald M.
Visitado 241,
Followers 2,
Compartido 0
I always upload my sites with the gzip option ticked, but three different SEO assessment sites are telling me gzip has not been applied/used.
For example https://mainlineroadmarking.co.uk
?
Publicado en
Hello Donald,
what SEO sites displayed this, for example?
Thank you.
Autor
sitechecker.pro
seotesteronline.com
freetools.seobility.net
Autor
Apparently for GZIP to work an .htaccess file has to be placed on the server (or the existing one has to be modified).
Neither of these things are happening, so it appears that the SEO checkers are right, and ticking the GZIP checkbox isn't doing anything.
Hello Donald,
if you check the contents of your destination folder, you do not see any .htaccess file in it?
Usually it should be automatically generated.
Have you recently enabled GZIP compression or was it always active?
Thank you.
Autor
GZIP has always been active, There is an .htaccess file but but it doesn't contain any code relating to GZIP - see attached.
Here below is a sample of the type of code it should contain:
# Enable GZIP compression <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML, and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser-specific bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule>
Hello Donald,
testing this with a project, the .htaccess in my instance contained code referring to the GZIP compression.
It seems that this is not being applied correctly in your case, as no .htaccess is generated at all.
Could you please check whether this is the case for all projects, or only mainlineroadmarking.co.uk ?
If this is the case, please provide me with a copy of the project so that I can take a look at what may be causing this.
You can export it in Step 5 - Export, choosing the “Export the project” option to generate an IWZIP file.
You can then upload the file with https://www.swisstransfer.com/ or similar services, and provide a download link at support @ incomedia.eu (without the spaces).
Thank you.
Autor
Hi Eric,
Sorted it. After looking more carefully I discovered that gzip has to be enabled in two different places, in the SEO settings and the upload parameters.
Seems a bit odd, why is that?
Thanks
Donald
Hello Donald,
users with a WebSite X5 hosting space do not have access to the Parameters section, as all credentials are preset for them, and so this function can also be enabled/disabled from the SEO section in order to give the option to those users as well.
Apologies for the confusion created.
Autor
Ok, but why did I have to enable it in both sections? Originally I only enabled it in the Parameters section - and it didn't work.
Hello Donald,
by default the option is enabled in the Parameters, and so to allow users with our hosting to be able to turn it off if they so wish we also left this option in the SEO section.
We will consider changing this to make things clearer, thank you for the feedback.