I have a domain with BT Advanced Hosting.
The Google bots have analysed the pages and come up with various ways to improve the performance of the site. One of the suggestions is "Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.".
I have had a look at this and it looks as though you need to alter the .htaccess file on the server- Would anyone know how the bt advanced webhosting deals with these kind of compression issues- whether it is possible to use either?
I would be very grateful if anyone had any input on this,
Thank you in advance.
I have the same problem. It took me ages to contact the right department in BT. They have now informed me that Mod_deflate is enabled on the servers. However, they will not give me advice or help on what code to put into my .htaccess file. I have tried all the possible permutations I can think of but nothing works. Can anyone help me.
Code I have tried (and many permutations) is:
I am facing exactly the same issue. I'd like to enable compression as well and have tried various modifications to .htaccess file but none appears to enable compression.
Have anyone had any success with this?
LordDave is right, at least for your .html/.php files you can add the following code to the top of you page and it will compress those:
<?php ob_start("ob_gzhandler"); ?>
But, it's not ideal because .js and .css files still aren't compressed.
I have been round-and-round in circles on this with BT and I can't find any solution. I was told "you can't use GZip" and then "you can use DEFLATE but not GZip" and then "you can use GZip but not DEFLATE". I have tried what BT support suggested during all that, and I have also followed every credible example I can find online, including Google's advice (which is undoubtably flawless). Nothing works.
Not that it will help, but Google advise looking at these: