
128 文字
1 分
生成系AIサービスから自分のサイトをブロックする方法
サイトのトップに以下のrobots.txtを設置または、コピペします。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| User-agent: GPTBot | |
| Disallow: / | |
| User-agent: ChatGPT-User | |
| Disallow: / | |
| User-agent: Google-Extended | |
| Disallow: / | |
| User-agent: CCBot | |
| Disallow: / | |
| User-agent: anthropic-ai | |
| Disallow: / | |
| User-agent: Claude-Web | |
| Disallow: / | |
| User-agent: Omgilibot | |
| Disallow: / | |
| User-agent: Omgili | |
| Disallow: / | |
| User-agent: FacebookBot | |
| Disallow: / | |
| User-agent: * | |
| Allow: / |
生成AI系サービスのuser agent名は以下から検索できます。

Dark Visitorを導入してみた
このBlogにDark Visitorのプラグインを導入してみてクロールしに来たBotを計測してみました。
無料だと10,000イベントちょっと計測できないようです。導入して4日で使い切ったようです。

その際のサマリーを軽く載せておきます。

関連記事
この記事が役に立ったら
GitHub Sponsorsで応援できます



