How Gzip compression relates to SEO?

Hassan

New member
Joined
Nov 11, 2014
Messages
706
Points
0
Gzip compression is a effective way to speed up your site and save bandwidth. The faster your web loads, the more user friendly it will be and the more the search engines will like it.

Use:
Paste the following code into your .htaccess file
Code:
# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
 
Newer threads
Replies
9
Views
4,515
Replies
6
Views
2,883
Replies
6
Views
4,384
Latest threads
Hi
Replies
1
Views
65
Replies
1
Views
65
Replies
1
Views
58
Similar threads
Replies
4
Views
2,457

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top