Advertise with us

What is robots.txt ?

Search Engine Optimization 

Last updated:8/31/2019 5:07:10 AM

3 Answers

Sanat Shukla
Sanat Shukla

The Robots.txt is one way of telling the Search Engine Bots about the web pages on your website which you do not want them to visit.

A Robots.txt is useful for preventing the indexation of the parts of any online content that website owners do not want to display.

IF we want to block all search engine robots from crawling our website, just put the following code:

User-agent: *

Disallow: /

IF we want to block Google from crawling our website, just put the following code:

User-agent: Googlebot

Disallow: /

This is important to decide the location of Robots.txt very carefully, or else errors might occur while displaying the website.

Neel Patel
Neel Patel

Robots.txt is a text file webmasters create to instruct web robots how to crawl pages on their website.

Answer