• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 963
  • Last Modified:

joomla : turn off gzip

hi, anyone know a code to turn off gzip in joomla.

Basically i have set the gzip compression ON in Joomla backend. But i want to turn OFF GZIP compression on particular page..

Anyone know how to do this ?
0
bcv2010
Asked:
bcv2010
  • 2
  • 2
1 Solution
 
wmadrid1Commented:
You can create a file .htaccess
and put it in the folder to disable

In the .htacces file put this line:
RewriteRule . - [E=no-gzip:1]
0
 
bcv2010Author Commented:
is this work on one particular page ?

also i would prefer to have a code on .php file instead of htacess
0
 
wmadrid1Commented:
The file .htaccess must be located in the folder root where you want gzip to be disabled

I don not know the way to disabled it trought PHP code
0
 
bcv2010Author Commented:
I found a quick and easy way from joomla to do this :

I use setCfg();
0
 
ee_autoCommented:
Question PAQ'd and stored in the solution database.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now