WebSite X5Help Center

 
Donald M.
Donald M.
User

Gzip not applied  en

Author: Donald M.
Visited 144, Followers 2, Shared 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

?

Posted on the
9 ANSWERS
Incomedia
Eric C.
Incomedia

Hello Donald,
what SEO sites displayed this, for example?
Thank you.

Read more
Posted on the from Eric C.
Donald M.
Donald M.
User
Author

sitechecker.pro

seotesteronline.com

freetools.seobility.net

Read more
Posted on the from Donald M.
Donald M.
Donald M.
User
Author

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.

Read more
Posted on the from Donald M.
Incomedia
Eric C.
Incomedia

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.

Read more
Posted on the from Eric C.
Donald M.
Donald M.
User
Author

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>

Read more
Posted on the from Donald M.
Incomedia
Eric C.
Incomedia

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.

Read more
Posted on the from Eric C.
Donald M.
Donald M.
User
Author

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

Read more
Posted on the from Donald M.
Incomedia
Eric C.
Incomedia

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.

Read more
Posted on the from Eric C.
Donald M.
Donald M.
User
Author

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.

Read more
Posted on the from Donald M.