Robots.txt生成ツールとは?
Robots.txt生成ツールは、Generate robots.txt files for your websiteの無料オンラインツールです。
すべての処理はブラウザで実行され、データがサーバーに送信されることはありません。
使用方法
Select the crawler to configure (or use * for all crawlers). Add allow and disallow rules to specify which paths may or may not be crawled. Add your sitemap URL. Copy the generated robots.txt content and upload it to the root directory of your website.
主な特徴
robots.txt uses the User-agent directive to specify which crawler a rule applies to. The Disallow directive blocks access to paths. The Allow directive overrides Disallow. The Sitemap directive specifies the sitemap location.
Common patterns
- Blocking all crawlers from the admin area
- Allowing a specific crawler to access everything
- Blocking access to private directories
- Specifying the sitemap location
- Setting different rules for different crawlers