Skip to main content
DevTools24

Gerador de robots.txt

Crie um arquivo robots.txt para seu site para controlar como os mecanismos de busca rastreiam suas páginas.

Presets:

Rules

User-agent: *
Disallow: /admin/
Disallow: /private/

robots.txt - Detalhes Técnicos

The robots.txt file tells web crawlers which URLs they can access on your site. It's placed at the root of your domain (e.g., example.com/robots.txt). While crawlers should respect these rules, they are not enforceable—use authentication for truly private content.

Alternativa via Linha de Comando

# Test your robots.txt\ncurl https://example.com/robots.txt\n\n# Check if a URL is blocked\n# Use Google Search Console's robots.txt Tester

Referência

Ver Especificação Oficial