MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: Content Encoding Error on Mozila firefox browser for joomla site.  (Read 4613 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
Hello Guys,

If you are getting Content Encoding Error after enabling the Gzip Page Compression on your Joomla website. But after refresh the page it is working and wish to enable this without this error then you are on correct page.

After investigating on it, I found that if  on the server has already gzip compression turned on then Joomla tries to gzip again it can cause some weird encoding issues. You need to check it on server if is it already on or not.

Here are the steps:

1. Disable the gzip compress from joomla admin panel.

2. login to your server via ssh. OR check via online utility

[If online utility shows Compression type? -gzip. Means it is already enable on server no need to enable it from joomla ]

3. Run curl command as below.

#curl -I -H 'Accept-Encoding: gzip,deflate'

It will show you output like as below.

HTTP/1.1 200 OK
Date: Wed, 01 Oct 2014 11:15:44 GMT
Connection: Keep-Alive
Transfer-Encoding: gzip
Content-Type: text/html; charset=UTF-8

4. You can see " Transfer-Encoding: gzip ". Means it is already enable on server no need to enable it from joomla.

That's all you have done.

« Last Edit: October 01, 2014, 05:38:38 PM by Dipak Bhoi »
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum