robots.txt Generator

Generate robots.txt with Allow/Disallow via GUI.

Về công cụ này

This tool generates robots.txt in one click. Three features: 1) Set User-agent, Allow, Disallow, Sitemap via GUI, 2) Control crawler allow/deny, 3) Copy generated robots.txt to place at root. Ideal for SEO and crawl control.

Giao diện công cụ

  

Cách sử dụng

  1. Enter User-agent, Allow, Disallow, Sitemap in the GUI
  2. Generated robots.txt content is displayed
  3. Copy and place as robots.txt at domain root

Khi nào nên dùng

Crawl control, hide admin, specify sitemap.

Ví dụ

Disallow: /admin/, Sitemap: https://example.com/sitemap.xml

Câu hỏi thường gặp

What is robots.txt?

Tells crawlers what to crawl. Disallow blocks, Allow permits, Sitemap points to sitemap.

Is Disallow a hard block?

Advisory, not enforced. Use auth for sensitive content.

How to use robots.txt generator?

Enter User-agent, Allow, Disallow, Sitemap in GUI. Copy generated robots.txt to root.

Block admin from crawlers?

Disallow: /admin/. This tool generates robots.txt with your paths.

Specify Sitemap?

Sitemap: https://example.com/sitemap.xml. Add in this tool.

Allow vs Disallow priority?

More specific path wins. Disallow: / and Allow: /public/ → /public/ allowed.

robots.txt for Googlebot?

User-agent: Googlebot. This tool supports multiple User-agents.

Where to put robots.txt?

Domain root (https://example.com/robots.txt). Subdir has limited effect.

Crawler control best practices?

Disallow admin, API, search results. Allow important pages. Sitemap for discovery.

Does robots.txt affect SEO?

Affects crawl frequency and scope. Blocking important pages = no index. Use carefully.

Công cụ liên quan

Bộ công cụ