Jump to content

Recommended Posts

Posted

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

 

Add the above code to .htaccess file.

Posted

But earlier i rename my .htaccess to htaccess now how do i do?? Because i dont have .htaccess again

 

Or should i creat a new .htaccess and paste the code inside??

Posted

Yeah, you should create new .htaccess file. Also, for your forum/blog which is http://proudlyloaded.in/ you should include the proper .htaccess file for that also. Every forum(for eg. IP.Board, PhpBB) has its own .htaccess file which allows the url to be requested to index.php

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...