Friday, May 24, 2024

Robots.txt

 Robots.txt


Is a file which instructs crawlers (or robots) how to crawl any page or post on your ws.

We can hide unnecessary pages which increases our crawl budget. 

Usually done by websites with a lot of webpages, not by small blogs.

Type on Notepad: 

User-agent:* 

Disallow: slug of the page required

Save this notepad file as robots.txt.

Now go to Cpanel>File Manager>Public_HTML >  Upload


To hide entire website from crawlers: 

Type on Notepad: 

User-agent:*

Disallow:/

Save this notepad file as robots.txt.

Now go to Cpanel>File Manager>Public_HTML Upload


OR

Wordpress Dashboard Settings  Readings  Discourage Crawlers

VIDEO: मंत्री कृष्ण लाल पंवार से एक्सक्लूसिव बातचीत, बोले- इसराना से पानीपत तक रोजगार और गांव की बेटियों के लिए सफर हुआ आसान

नमस्कार जी, राम राम सारा ने, निधि मुदगिल तीन दिन की हरियाणा चुनावी यात्रा पर थीं, इस दौरान उन्होंने कई मंत्रियों से बात चीत की, हरियाणा के प...