मस्कार दोस्तों मेरा नाम सुधांशु गुप्ता है और मै Computer Science & Engineering की पढ़ाई कर रहा हु| तो दोस्तों आज मै आप को बताऊंगा की आप अपने blogger में Custom Robots.txt File को कैसे add कर सकते है, तो आशा करता हु की आप को ये Article पसंद आएगा, तो चलिए जानते है की हम अपने blogger में Robots.txt फाइल कैसे add कर सकते है-
Robots.txt फाइल को blogger में add कैसे करे?
![]() |
How To Add Custom Robots.txt File in Blogger |
Robots.txt फाइल क्या है?
तो दोस्तों Robots.txt फाइल एक सिंपल text फाइल होती है जो की हमारे Website या Blog के Server पर Save हो जाती है और Robots.txt फाइल ही Google Crawlers को Instruction देती है की कोण सी पोस्ट को Index करना है और कोन सी पोस्ट इगनोर करनी है| और मै आप को बता दू की Google Crawlers सबसे पहले Robots.txt फाइल को ही स्कैन करता है इसीलिए आप को Robots.txt फाइल को अपने ब्लॉग में add करना बहुत ही जरुरी है|
तो दोस्तों सभी blogs का एक Default Robots.txt फाइल होता है जो की कुछ इस तरह से दीखता है-
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap:https://example.blogspot.com/feeds/posts/default?orderby=UPDATED
Note :- दोस्तों ऊपर दिया हुआ कोड केवल 25 Posts को ही Contain करने में शछम है अर्थात ये
कोड केवल 25 Posts के बारे में ही Search Crawler को Instruction दे सकता है यदि आप के
ब्लॉग या website पर 25 से ज्यादा posts है तो आप निचे दिया गया कोड add करे-
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://example.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
अब अगर आप के ब्लॉग पर 500 से भी ज्यादा Posts है तो आप को निचे दिया हुआ कोड add करना है –
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://example.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap: https://example.blogspot.com/atom.xml?redirect=false&start-index=500&max-results=1000
Robots.txt फाइल को blogger में add कैसे करे?
How To Add Custom Robots.txt File in Blogger in Hindi
तो दोस्तों अब मै आप को बताने जा रहा हु की आप Robots.txt फाइल को blogger में कैसे add
तो दोस्तों अब मै आप को बताने जा रहा हु की आप Robots.txt फाइल को blogger में कैसे add
कर सकते है, तो दोस्तों इसके लिए आप निचे दिए गए Steps को फॉलो करे –
#1 सबसे पहले आप को अपने blogger डैशबोर्ड को open कर लेना है|
#2 अब आप को निचे दिए गए पाथ को Follow करना है –
Settings >> Search Preferences ›› Crawlers and indexing ›› Custom robots.txt ›› Edit ›› Yes
#3 अब आप को Robots.txt Code को Paste कर देना है|
#4 अब Save Changes बटन पर क्लिक कर के सेव कर लेना है|
#5 Now Everything is done!
Robots.txt File को कैसे चेक करे?
तो दोस्तों अगर आप अपनी Robots.txt फाइल को अपने Browser पर देखना चाहते है तो आप को
अपने Blog या Website के URL के बात /robots.txt लिख कर सर्च कर लेना है| जैसा की निचे
Image में दिखाया गया है-
How To Add Custom Robots.txt File in Blogger in Hindi
How To Add Custom Robots.txt File in Blogger in Hindi
तो दोस्तों आशा करता हु की आप को ये पोस्ट पसंद आई होगी तो इसे Share जरुर करे, और अगर
आप को कोई भी परेशानी आ रही हो तो आप मुझसे कमेंट के द्वारा पूछ सकते है|