Hi All, I have wp super cache installed and gzip supported via my host. I have "enable compression" on, but when i check on: http://www.gidnetwork.com/tools/gzip-test.php It says GZIP is not enabled. I have allready tried to enable gzip via MySQL into 1 in the wp_options table, but every time my site is opened it just goes back to 0 How do i make this work?
Add this code to your functions.php function enable_gzip() { <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?> }