Hum jante hai google serch engine me speed up wordpress website blog ke related bhot search hote hai. Sab log janna chahte hai ki unki website ki speed kaise badha ske. Aap ye bhi jante honge ki online plugins and tools se bhi aware honge. But aaj ke es topic me hum .htaccess file se apni website ko kaise speed up kar skte hai. Uski puri jankari dunga.
Page Contents
htaccess speed up wordpress kaise kam karta hai?
Sab ke dimag me ek hi baat hongi ki .htaccess file kaise kam karti hongi? Aur ye file ka name bhi bhot se logo ke liye to strange hoga. Aap ko janna jaruri hai ki ye wordpress htaccess file web server se connected rehti hai jo wordpress website speed up me major role play karti hai.
Also Read: Blog ki Loading Speed Time Ko Kaise Kam Kare Puri Jankari
What is .htaccess?
.htaccess ka short form “Hypertext Access” hai. Ye file specifically server ke configuration ko create karne ke liye hai. Ye jankari bhi bhot aavshyak hai ki ye protection bhi provide karta hai admin area ko,, safeguarding, other sensitive directories , redirecting users , preventing spammers, speed up your wordpress website and so on. Itni sari facility ye ek single file ki help se hoti hai.
Aapko .htaccess ke aage lage Dot(.) ke bare me janna bhi jaruri hai.
Basically ye Dot Htaccess file ko hidden file banata hai. Jiske karan aap file ko file manager me bhi nhi dekh pate ho.
How to create the .htaccess file?
Htacces file dusri file se kuch hatke hai. Ye apne aap bhi create ni hoti. Create karne ke liye go to Settings > Permalinks, and click the “Save Changes” button.
.htaccess file web server ke root me se create hogi. Aap badme file manager or FTP client se file ko find kar skte ho.
How to edit the .htaccess File?
Ek bar .htaccess file create ho jaye badme editing karke speed up karna bhot hi easy rehta hai. Uske liye aap file manager or FTP client ki help le skte ho.
Agar aap File manager use kar rhe ho to code insert karne ke liye aap built in code editor ka bhi use kar skte ho. Aur appke computer se bhi file ko download kar skte ho. Bas aapko niche diye gaye changes proper way se karne honge and badme web server ki root directory me proper trike se upload karna rhega.
Upar thi file manger se kaise htaccess me work kare. Ab yha me aapko FTP client se kaise work kare. Agar aap FTP client use kar rhe ho to aap manually download, edit and upload sab kar skte ho.
But ek chij janna bhot hi jaruri hai ki .htaccess file me editing very careful way se hona chahiye. Koi chhoti se chhoti mistake bhi website me takniki problem la skti hai.
To uske liye bhi ek achha sujav hai aap .htaccess file ko edit or change karo usse phle .htaccess file ka complete backup lelo.
How to use .htaccess to speed up your wordpress blog?
Bhot sari method hai .htaccess file to speed up wordpress website.
Yha par hum kuch important method ke bare me janenge.
1. Using Gzip Compression
Aap .htaccess file ka use file ki size compress karne ke liye bhi kar skte ho. Jaise ki html, css, javascript, XML file etc. Aap en sabhi document ki size Compress karke results ko fast load karva skte ho.
Compression in Apache Servers.
Google ne ek special module developed create kiya hai jiska name mod_pagespeed .
Ye module Apache Servers me File ko compress karne ke liye use hota hai.
But ye chij janna jruri hai ki mod_pagespeed aapke hosting provider ko support karta hai ki nhi?
Godaddy and siteground module ke sab plans ko allow karta hai. Jyare hostgator , inmotion
hosting and A2 hosting support VPS and Dedicated hosting packages.
Ek bar jake dekhna jruri hai ki mod_pagespeed installed kiya gya hai ke nhi? Niche diya gya code .htaccess file me add karo aur enable the module-
In case agar aapka hosting support nhi kar rha hai to aap ek dusra module hai jiska name mod_deflate module use use kar skte hai. Uske andar aap niche diye gye code ko use kariye.
Nginx Servers se Compression karo.
Agar aapki website Nginx server pe hosted hai to niche diya gya code add kariye.
2. Using Browser Caching
Ye Cashing proven method hai website ki speed ko increase karne me. Google Page Speed
Analysis and Various page Loading speed measurement tools bhi recommend karte hai. Browser cache se page speed ko enhance kare.
Jab visitor aapki website par first time aata hai tab vo visitor ka browser automatically download all image,script and css file jisse aapki website properly display ho ske.
Fir jab same visitor aapki website par aata hai tab browser automatically load kar deta hai sab files ko. Aur necessary files ko uske cache me store karta hai. Jisse vo apni speed ko normal se jyada payega.
Uske liye aapko niche diye gaye code ko follow karna rhega. Uske liye setting expire date karni rhegi. Jo kuch bhi rhega vo website par depends karega.
3. Preventing Hotlinking and spammers
Image hotlinking ye ek serious issue hai aapki website ke performance ke liye.
Jab dusre log aapki website ki images ko hotlinks karte hai uska meaning ke vo aapki website ki images ko directly access kar rhe hai resource link ki help se.
.htaccess file aapko hotlinking ko rokne me bhi help karega. Uske liye bhi niche diya gya code ka proper use kariye. Fir koi person aapki weebsite se aapki images ko direct use ni kar skega.
Hotlinking ke liye Use this handy tool to generate the necessary code
Basic hotlinking prevention code
Make sure aapne “yourdomain.com” name ki jgah apna domain name rakha ho. Agar aapko koi specific domains ko hotlink ke liye allow karna chahte hai vo option bhi aapke pass available hai. Jis file ko dikhana chahte ho use hotlink ke badle default rakhe. Vo sabkuch aap upar diye gaye tools ki help leke kar skte ho.
Spamming bhi ek sabse bada issue hai. Jo aapki website ke performance ko reduced kar skta hai. Spammers basically automated boats ka use karte hai. Jo comment file ko directly access karta hai. Agar aap ese spammers aur unke automated boats ko rokna chahte ho aur website ki speed bhi fast karna chahte ho to niche diya gaya code properly place kare .htaccess file me.
But make sure “yourdomain.com” ki jgah aapka domain ka name hona chahiye.
Final words Best and fast loading speed bhot jaruri hai aapki website ke performance ke liye. Ye aapke search engine ranking me bhi bhot help karta hai.
ye kuch mera personal experience tha jo mene ye website par share kiya hai. Me vaise to
www.wpenlight.com ka owner hu. hum wordpress maintenance services provide karte hai.
Many thanks for this most informative information on Speed up WordPress and many more. Quality is better than quantity. Amazing write-up!”
Sir ye post muje bhaut helpful hoi bhaut hi acchse information di hai.
Rohit ji. Aap nay Deep research ki. Bhout accha laga.
WordPress blog ke liye best cache plugin kaun si hai ?
wordpress blog ke liye best fastest loading free theme kaun si hai ?
video lazy load ke liye kaun si wordpress plugin use karu
Rohit bhai aap ne bhi kia ha ye seting
Pura read kia pr kr na thora muskil lg raha ha
haa bhai thoda technical hai.. par aap samaj kar kare.. or kuch bhi karne se phele blog ka full backup jarur lele..
Good Article Mr.Rohit
kamal ki jankari di hai aapne,
bahut achha laga padhke.
dhnyabad.
Sir Meri Website Baar Baar Server Down Ho Jata He Aur Speed abhi Hat Jaati He So Wese Me Kya Karu
Mujhe Lagta He Ki Ye Kuch Plugin Ke Wajah We Ho Raha He
But : Kon Sa Plugin He Woh Ni Pata
Mere cpanel m .htaccess nahi show rhi hai. Main ise kaise dekh skta hu
Hidden file allow karna padega phele
Meri website ke speed thek hai yaaa fir improvement chayeye
Technicalshahji.com
Bhai ye batao aap ki wordpress se koi website ban sakti hai kya…agar ban sakti hai toh kaise bana sakta hu.
wordpress me website kaise banaye uski jankari me phele se share kar chuka hu.. aap wo read kare.
bahut badhiya post likha hai.. dhanywaad
Ye plugins se bhi ho jayega??
haa kuch chije ho jayegi.. par kaam to yahi hoga.
Thank your rohit for Share thi Amazing Article…
kya blogger platform ka liye ye available hai…
Nahi Bhai, usme inki koi jarurat nahi hai..
Blogger par kya ye possible hai
blogger platform par kaise blog ki speed kAise badhaye… kripya bataye..
You have any blogger trick to boost site speed. Please share with us!
.htaccess se sbndhit kaafi saari jaankari English me to padhi thi lekin Hindi me aaj pehli baar padh rahaa hu, bahut upyogi jaankari share ki aapne
Nice Article Rohit Bahi acha bahi ap se ek sawl hai ke wp rocket or w3 total cache me se konsa behtar hai please help!
wp rocket..
Sir aapke dwara di gai .htaccess ki jankari bahut hi helpful hai .
mera ek question hai ki backlink kese create kiye jate hai or nofollow & dofollow link kya hote hai or hame apni website ke liye konse link or kese create karne chahiye please es baare me jankari de. Thank you
Nice post sir, Apne kaha tha apne koi Course nahi kiya hai to fir aap coding (languages) kese jante ho? Ham bhi languages sikhna chahte hai jese aap sikhe hai, to please tell something.
Which wordpress theme are you using
Newspaper