robots.txt
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/robots-txt/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/robots-txt/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/robots-txt/)
Use the native HTML custom element.
robots.txt, bir alan adının kök dizinine (örneğin example.com/robots.txt) yerleştirilen düz metin dosyasıdır ve uyumlu web tarayıcılarına sitenin hangi bölümlerine erişip erişemeyeceklerini bildirir. User-agent, Disallow ve Allow gibi Robot Dışlama Protokolü yönergelerini kullanır. robots.txt aracılığıyla bölümlerin engellenmesi, önemli sayfalar için tarama bütçesini korur; ancak engellenen sayfalar [[backlinks|geri bağlantı]] olsa bile dizine eklenemez — bu yüzden aşırı engelleme yaygın bir SEO hatasıdır. Dosya, tarayıcıların bulabilmesi için [[sitemap-domain|XML site haritasının]] konumunu da belirtmelidir.
Örnek
Adding 'Disallow: /admin/' to robots.txt prevents Google from crawling internal admin pages, while 'Sitemap: https://example.com/sitemap.xml' advertises the sitemap location to all crawlers.