GPEN · Question #238
You want that some of your Web pages should not be crawled. Which one of the following options will you use to accomplish the task?
The correct answer is C. Place the name of restricted Web pages in the robotes.txt file. The robots.txt file is the standard mechanism used to instruct compliant web crawlers which pages or directories on a site should not be crawled.
Question
You want that some of your Web pages should not be crawled. Which one of the following options will you use to accomplish the task?
Options
- AUse HTML NO Crawl tag in the Web page not to be crawled
- BPlace the name of restricted Web pages in the private.txt file
- CPlace the name of restricted Web pages in the robotes.txt file
- DEnable the SSL
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C79% (19)
- D13% (3)
Why each option
The robots.txt file is the standard mechanism used to instruct compliant web crawlers which pages or directories on a site should not be crawled.
There is no standard HTML tag called 'NO Crawl' - while a meta robots tag with content='noindex' exists, it only signals the crawler not to index the page after it has already been fetched, and does not prevent crawling.
There is no standard file named 'private.txt' recognized by web crawlers - only robots.txt is specified in the Robots Exclusion Protocol.
The robots.txt file, placed in the root directory of a web server, uses the Robots Exclusion Protocol to communicate crawling restrictions to compliant web crawlers via Disallow directives for specific paths. This prevents those pages from being crawled or indexed and is the universally accepted standard supported by all major search engine crawlers. Any web page listed under a Disallow directive will be skipped by robots that honor the protocol.
Enabling SSL/TLS secures data in transit between the browser and server but does not instruct or restrict crawlers from accessing web pages.
Concept tested: Robots Exclusion Protocol and robots.txt usage
Source: https://developers.google.com/search/docs/crawling-indexing/robots/intro
Topics
Community Discussion
No community discussion yet for this question.