Skip to content

Commit 1a7e849

Browse files
ricardochlSplaktar
authored andcommitted
chore: block AI crawlers and scrapers in robots.txt
Add `robots.txt` to block AI training crawlers and Common Crawl while keeping access open for standard search engines (Google, etc). Site traffic increased ~5000% recently. Blocking known AI/scraper bots to reduce unnecessary load and protect content from being used as training data.
1 parent eca4a52 commit 1a7e849

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

adev-es/src/robots.txt

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Block OpenAI
2+
User-agent: GPTBot
3+
Disallow: /
4+
User-agent: OAI-SearchBot
5+
Disallow: /
6+
7+
# Block Anthropic (Claude)
8+
User-agent: anthropic-ai
9+
Disallow: /
10+
User-agent: Claude-Web
11+
Disallow: /
12+
13+
# Block Microsoft/Bing AI
14+
User-agent: bingbot
15+
Disallow: /
16+
17+
# Block Google AI (Gemini training)
18+
User-agent: Google-Extended
19+
Disallow: /
20+
21+
# Block Apple (Siri/Apple Intelligence)
22+
User-agent: Applebot-Extended
23+
Disallow: /
24+
25+
# Block Meta (Facebook AI)
26+
User-agent: FacebookBot
27+
Disallow: /
28+
29+
# Block Amazon (Alexa AI)
30+
User-agent: Amazonbot
31+
Disallow: /
32+
33+
# Block ByteDance (TikTok)
34+
User-agent: Bytespider
35+
Disallow: /
36+
37+
# Block Diffbot (AI data extraction)
38+
User-agent: Diffbot
39+
Disallow: /
40+
41+
# Block Common Crawl (open dataset used for AI training)
42+
User-agent: CCBot
43+
Disallow: /
44+
45+
# Allow all standard search engines (like Google)
46+
User-agent: *
47+
Disallow:

0 commit comments

Comments
 (0)