BloggingHindi - Blogging Aur Internet Ki Sabhi Jankari

  • About Us
  • Contact Us
  • Blogging
  • WordPress
  • SEO

WordPress Blog Ki Loading Speed Ko htaccess Se Fast Kaise Banaye

Last Updated on April 11, 2022 by Md Arshad Noor 10 Comments

जब किसी ब्लॉग की loading time slow होता है तो उस ब्लॉग में जाने के लिए हमारा मन नही करता है. क्योकि इसकी slowness की वजह से हमारा time waste तो होता ही है और साथ साथ Internet data भी ज्यादा use होता है. जिस ब्लॉग की loading speed slow होती है, उसे गूगल भी पसंद नही करता है. जिसके कारण ब्लॉग को Google में अच्छी रैंक नही मिल पाती है. अगर आपका ब्लॉग WordPress पर है तो इस post को पढ़िये. हम इस Post में बिना किसी plugin के .htaccess द्वारा Blog की loading speed को fast करने के बारे में बता रहे हैं।

Wordpress blog ki loading speed ko fast kaise banaye htaccess ke dwara

आपके ब्लॉग में चाहे कितना भी अच्छा post क्यों न हो लेकिन अगर आपका ब्लॉग 6-7 second में load होता है तो आपके ब्लॉग की traffic बहुत ज्यादा कम होगा. इसका कारण यह है की जब कोई visitor आपके ब्लॉग में आता है और आपका ब्लॉग slow loading होता है, जिसे कोई भी visitor पसंद नही करता है तो इसीलिए वह आपके ब्लॉग से वापस चले जाता है. आपको तो पता ही होगा की India में अभी भी बहुत से लोग 2G internet use करता है. Slow loading होने वाले ब्लॉग को Google पसंद नही करते हैं और इसको कभी भी टॉप पर नही show करता है. इस तरह की Blogs की SEO में बहुत कम rank होती है.

अगर आपका ब्लॉग wordpress पर है तो बहुत से plugins भी है. अगर आप चाहो तो उन्हें install कर सकते हो. हम यहाँ पर जो methods बताने जा रहे हैं वो बिना plugin का use किये कर सकते हो. ज्यादा plugin use करने से बहुत से problems का सामना करना पड़ता है. Plugin में बहुत ज्यादा script होता है, जिससे हमारे ब्लॉग की loading speed slow हो जाती है. इसीलिए हम यहाँ पर .htaccess के द्वारा ब्लॉग को speed करने के बारे में बताने वाले हैं.

WordPress में php, JavaScript, CSS script को use किया जाता है. जो बहुत slow loading होती है. इसीलिए हमे इन सभी को Compression Gzip, Cache करना पड़ता है. ऐसा करने से हमारा ब्लॉग की loading time fast हो जाता है. इसको करने के लिए बहुत सारे plugins है. अगर आप चाहो तो ये काम W3 Total Cache के द्वारा भी कर सकते हो. अगर आप ये काम बिना किसी plugin को करना चाहते हो तो हम इसके बारे में निचे बताएँगे.

In this post, हम .htaccess के द्वारा Compression Gzip, Cache करने के बारे में बता रहे है. इसके लिए हम कुछ code बताएँगे जिन्हें आपको अपने ब्लॉग की .htaccess file में add करना है. यहाँ हम Gzip compression के को enable करने के बारे में जानेंगे. इससे ब्लॉग की files की size कम हो जाती है. जिससे हमारा ब्लॉग fast loading होता है और हम यहाँ पर Caching के बारे में भी जानेंगे. जब कोई visitor हमारे ब्लॉग में visit करता है तो उसका data जमा रहता है, जिसे cache कहते है. इसको empty करना बहुत जरूरी होता है.

WordPress ब्लॉग की Loading speed को .htaccess द्वारा fast कैसे करें.

यहाँ हम निचे कुछ code बताने वाले हैं, जिन्हें .htaccess file में add करना पड़ेगा. इससे पहले की हम process start करें, आपको एक जरुरी सुचना देना चाहता हूँ की .htaccess file में अगर थोड़ा सी भी mistake हो जाये तो ब्लॉग open नही होगा. इसीलिए इसको edit करने से पहले इसका backup जरूर download करें.

Step 1: सबसे पहले अपने ब्लॉग की CPanel में login करें. (www.youblog.cPanel/)

  1. अब File Manager पर Click करें.

WordPress Blog Ki Loading Speed Ko htaccess Se Fast Kaise Banaye 1

      Step 2:

      1. अब public_html पर click करें.
      2. यहाँ पर .htaccess नाम से एक file होगा, उसपर click करें.
      3. अब Edit पर Click करें.

      WordPress Blog Ki Loading Speed Ko htaccess Se Fast Kaise Banaye 2

          Step 3: अब निचे में हम codes बता रहे है. जो code जिस काम का है, उसे हम बता रहे हैं.

          For Enable Gzip compression

          Gzip compression को enable करने से ब्लॉग में जितने files है. उसकी size कम हो जायेगी, जिससे आपका ब्लॉग fast loading होगा। इसको enable करने के लिए निचे दिए गए code को copy करके अपने htaccess file में paste करें।

          # compress text, html, javascript, css, 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
          AddType x-font/otf .otf
          AddType x-font/ttf .ttf
          AddType x-font/eot .eot
          AddType x-font/woff .woff
          AddType image/x-icon .ico
          AddType image/png .png
          

          For Enable Caching

          हमारे ब्लॉग में जब visitors आता है और posts को read करता है तो उसका data हमारे server पर save हो जाता है. इसको समय समय में delete करना पड़ता है, नही तो हमारा blog slow हो जाता है. अगर आप caching को auto delete करते रखना चाहते हो तो निचे दिए गए code को copy करके अपने ब्लॉग की htaccess file में paste करें।

          #BEGIN EXPIRES HEADERS
          
          # Enable expirations
          ExpiresActive On
          # Default expiration: 1 hour after request
          ExpiresDefault "now plus 1 hour"
          # CSS and JS expiration: 1 week after request
          ExpiresByType text/css "now plus 1 week"
          ExpiresByType application/javascript "now plus 1 week"
          ExpiresByType application/x-javascript "now plus 1 week"
          # Image files expiration: 1 month after request
          ExpiresByType image/bmp "now plus 1 month"
          ExpiresByType image/gif "now plus 1 month"
          ExpiresByType image/jpeg "now plus 1 month"
          ExpiresByType image/jp2 "now plus 1 month"
          ExpiresByType image/pipeg "now plus 1 month"
          ExpiresByType image/png "now plus 1 month"
          ExpiresByType image/svg+xml "now plus 1 month"
          ExpiresByType image/tiff "now plus 1 month"
          ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
          ExpiresByType image/x-icon "now plus 1 month"
          ExpiresByType image/ico "now plus 1 month"
          ExpiresByType image/icon "now plus 1 month"
          ExpiresByType text/ico "now plus 1 month"
          ExpiresByType application/ico "now plus 1 month"
          # Webfonts
          ExpiresByType font/truetype "access plus 1 month"
          ExpiresByType font/opentype "access plus 1 month"
          ExpiresByType application/x-font-woff "access plus 1 month"
          ExpiresByType image/svg+xml "access plus 1 month"
          ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
          
          #END EXPIRES HEADERS
          

          For Cache Control

          ऊपर दिए गए code से cache delete होता है. इसको control करना बहुत important होता है. इसके लिए निचे दिए गए कोड को copy करके अपने ब्लॉग की htaccess file में paste करें।

          # BEGIN Cache-Control Headers
          <ifModule mod_headers.c>
           <filesMatch "\.(ico|jpe?g|png|gif|swf)$">
           Header set Cache-Control "public"
           </filesMatch>
           <filesMatch "\.(css)$">
           Header set Cache-Control "public"
           </filesMatch>
           <filesMatch "\.(js)$">
           Header set Cache-Control "private"
           </filesMatch>
           <filesMatch "\.(x?html?|php)$">
           Header set Cache-Control "private, must-revalidate"
           </filesMatch>
          </ifModule>
          # END Cache-Control Headers
          

          जब दोनों codes को अपने htaccess file में add कर लोगे तो उसको save कर दीजिए. इसके बाद अब आप GTMetrics में अपने ब्लॉग की loading speed check करें. इससे आपका ब्लॉग बहुत ही fast हो जायेगा. आप Caching के लिए plugin का भी use कर सकते हो. इसके लिए W3 Total Cache या Autoptimize का use करें.


          में उम्मीद करता हूँ की आपको यह post अच्छा लगा होगा. अगर आपको इस पोस्ट से सम्बंधित कोई सवाल पूछना है तो comment करें. आपको यह पोस्ट कैसा लगा हमे comment के through जरूर बताएँ और

          You May Also Like

          • Schema Markup Kya Hai? WordPress Me Schema Markup Kaise Add Kare [2 Methods]

            Schema Markup Kya Hai? WordPress Me Schema Markup Kaise Add Kare [2 Methods]

          • Website Ko User Friendly Banane Ke Liye 5 Secrets

            Website Ko User Friendly Banane Ke Liye 5 Secrets

          • Blog Me Google Forms Ko Contact Form Me Kaise Use Kare

            Blog Me Google Forms Ko Contact Form Me Kaise Use Kare

          • WordPress Tips and Tricks – For Every Bloggers

            WordPress Tips and Tricks – For Every Bloggers

          About Md Arshad Noor

          हेलो दोस्तों, मेरा नाम मोहम्मद अरशद नूर है. में इस ब्लॉग में रेगुलर नई नई आर्टिकल्स लिखता हूँ. यहाँ पर हम ज्यादातर Blogging, Make Money, SEO, WordPress आदि से सम्बंधित Article मिलेगी. आपको हमारी लेख पसंद आती है तो इसे सोशल मीडिया में शेयर करें। अगर आपको कोई सहायता चाहिए तो कमेंट कीजिए।

          COMMENTs ( 10 )

          1. Rekha kumari says

            htaccess file kahan hota hai. plz bataiye .. meri wordpress dashboard me loading speed bahut jayada hai.

            Reply
            • Md Arshad Noor says

              Aap iss post ko thik se padho, isme bata diya gaya hai ki .htaccess file kaha hota hai. (Your cPanel ->File Manager ->public_html ->.htaccess)

              Reply
          2. ANTESH SINGH says

            wordpress blog ke liye best fastest loading free theme kaun si hai ?

            Reply
            • Md Arshad Noor says

              Try Genesis or Thrive themes

              Reply
          3. ANTESH KUMAR SINGH says

            wordpress blog ke liye best cache plugin kaun si hai ?

            Reply
            • Md Arshad Noor says

              Try W3 Total Cache or WP Super Cache

              Reply
          4. Antesh kumar singh says

            sir image lazy load ke liye kaun si plugin hoti hai

            Reply
            • Md Arshad Noor says

              Use BJ Lazy Load

              Reply
              • c3school says

                sir ji aap apne website pr kaun sa themes use kr rhe hai

                Reply
                • Md Arshad Noor says

                  Genesis

                  Reply

          Leave a Reply Cancel reply

          Your email address will not be published. Required fields are marked *

          Please do not spam! otherwise your comment will be removed.

          This site uses Akismet to reduce spam. Learn how your comment data is processed.

          Useful Articles

          Google Keyword Ranking Check karne ke liye 5 Best Website

          Website Ko User Friendly Banane Ke Liye 5 Secrets

          PHP Version Ko Upgrade Karke Site Speed Ko 20% Increase Kare

          WordPress Toolbar/Adminbar Ko Hide Aur Customize Kaise Kare

          Adsense Account Kaise Banaye [Step By Step]

          Blogging Ke 10 Important Myths ke Bare Me Apko Pata Hona Chahiye

          Hostlelo Review – A Great Solution for New Bloggers

          QR Code Kya Hai? QR Code Kaise Banaye aur Scan Kaise Kare

          Blog Me Live Cricket Score Widget Kaise Add Kare

          7 Karn WordPress Me Jyada Plugin Use Nahi Karni Chahiye

          Directory Browsing Kya Hota Hai-Isko Disable Karne Ke 2 Tarike

          Twitter Account Ko Secure Kaise Rakhe

          Blog ko Delete kaise kare aur Delete kiya hua blog wapas kaise laye

          About Us

          mdarshadnoorहेल्लो दोस्तों, मेरा नाम मोहम्मद अरशद नूर है. में अररिया, बिहार का रहने वाला हूँ. मुझे नयी चीजें सीखना-सिखाना बहुत पसंद है. में पिछले 5 सालों से ब्लॉगिंग के फील्ड में हूँ. इस ब्लॉग में आपको ब्लॉगिंग और इन्टरनेट से सम्बन्धित जानकारी मिलेगी.

          SUBSCRIBE OUR NEWSLATTER

          हमारे नवीनतम पोस्ट की सूचना एवं उपयोगी सामग्री प्राप्त करने के लिए हमसे जुड़ें

          Posts for WP Users:

          Directory Browsing Kya Hota Hai-Isko Disable Karne Ke 2 Tarike

          WordPress Blog Ke Database Ka Manually Backup Lene Ke 2 Tarike

          WordPress Ke Bare Me 30+ Interesting Facts

          WordPress Me Multi Author Blogging Ko Enable Karke Guest Post Accept Kaise Kare – Guest Blogging

          Hacker Kisi WordPress Site Ko Hack Kaise Karte Hai [5 Methods]

          More Posts from this Category

          DMCA.com Protection Status

          Recommended For You

          Blog Me Facebook Page Box Widget Kaise Add Kare (100% Tested)

          Web Push Notifications Use Karne Ke Pros and Cons

          YouTube Par Video Upload Kaise Kare [Beginner Guide]

          Bounce rate kya hai aur ise kam karne ke liye 11 Tips

          Blogging Niche Ke Blog Ke Liye Top 10 Affiliate Programs

          Top 20+ Online Tools By BloggingHindi

          Copyright © 2021 - All rights reserved. AboutContactSitemapDisclaimer