WordPress me Gzip Compression enable Kaise Kare

Author: |> Posted in wordpress 4 Comments

Aaj ham blog/website ki page speed badhane ke liye, enable gzip compression wordpress me kaise kare sikhenge. Lekin iske baare me janne se pehle hame ye janna zaroori hai iski zaroorat kyo padti hai.

Kisi blog ya website ko success banane me uski page speed bahut hi important thing hoti hai. Agar aapke blog ki speed poor hai, aapke readers aapke blog par dubara nahi aana chahenge.

Blog ki page speed ko boost karne ke liye wordpress blog me  Gzip compression ko enable karna bahut hi zaroori hai. aur bhi kai things hai jo blog ki speed ko improve karne ke liye karni padti hai. lekin aaj ham Gzip ke baare me janege.

 

enable gzip compression

 

Gzip Compression Kya Hai ?

Gzip ek Technic hai jisse hame blog ki all files ko compress( file size kam kare) page speed badha sakte hai.

Jab koi aapke blog ko browser me open karta hai ye blog ki files ke size ko kam kar deta hai aur aapka blog fast open hota.

 

Blog ki speed increase karne ke liye image optimize kaise kare

Image ka size reduce kaise kare without losing quality

Blog ki enable gzip Compression  kaise  check kare

Blog me gzip compression enable hai ya desable check karne ke liye,  gtmetix ya fir checkgzipcompression in page speed tool se check kare, aapke blog/website ki gzip compression enable hai ya nahi.

 

 

 

Enable Gzip Compression Kaise Kare

Gzip compression enable karne ke liye kai methods hai……… jaise plugin ka use karke, .htaccess me code add karke aur ftp ka use karke. lekin jo sabse best aur easily method .htaccess file me code add karke gzip compression enable kar sakte hai.

 

Aapke blog/website ki  Gzip compress enable karne ke liye apne hosting provider se contact kare. Wo gzip ko enable kar denge.

 

Agar aap manually gzip ko enable karna chahate hai to fir ye neeche diye gaye steps follow kare.

 

STEP – 1

Neeche diye gaye code ko copy kare.

 

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)
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
</IfModule>




 

 

STEP -2

 

Yoast plugin me .htaccess file open kare aur uper diye gaye code ko copy kar de.

 

upar bataye gaye page speed ckeck tool se apne blog/ website ko check kare gzip compress enable ho chuki hai.

aapke blog ki page speed bhi improve ho gai hogi.

 

Note- 

.htaccess file me code paste karne se pehle .htaccess file ka backup zaroor le, ye backup baad me aapke kaam aa sakta hai.

 

Agar aapka is article se related koi question hai to comment box me zaroor likhe, main bahut jald reply karuga.

 

Agar aapko jaankari achhi lage to is article ko apne friends ke sath share zaroor kare.

 

Comments
  1. Posted by Mukesh Gupta
    • Posted by Amar Banshiwal
  2. Posted by sandeep

Add Your Comment