Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Robots.txt

< >

Robots.txt is a config format created in 1994 by Martijn Koster.

#2324on PLDB 30Years Old

A robots.txt file tells search engine crawlers which URLs the crawler can access on your site.


Example from the web:
User-agent: googlebot # all Google services Disallow: /private/ # disallow this directory User-agent: googlebot-news # only the news service Disallow: / # disallow everything User-agent: * # any robot Disallow: /something/ # disallow this directory

Language features

Feature Supported Example Token
Comments # A comment
Line Comments # A comment #

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0