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
6,148
Replies
6
Views
4,125
Replies
6
Views
6,116
Recommended threads
Replies
28
Views
19,625
Replies
12
Views
9,994
Replies
10
Views
9,130
Similar threads
Replies
4
Views
3,920
Top