Skip to content

Commit 1a363b3

Browse files
committed
tweak robots.txt file
1 parent 8160023 commit 1a363b3

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

robots.txt

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1-
User-Agent: *
1+
# Block aggressive AI training crawlers
2+
User-agent: meta-externalagent
3+
User-agent: GPTBot
4+
User-agent: Google-Extended
5+
User-agent: CCBot
6+
User-agent: anthropic-ai
7+
User-agent: Claude-Web
8+
User-agent: Bytespider
9+
User-agent: PerplexityBot
10+
User-agent: YouBot
11+
User-agent: Amazonbot
12+
User-agent: cohere-ai
13+
Disallow: /
14+
15+
User-agent: *
216
Allow: /
317

18+
# Allow OG image so social crawlers (Facebook, LinkedIn, Slack, etc.) can render link previews
19+
Allow: /images/district0x-1200x630.png
20+
21+
# Block PDF and media asset directories
22+
Disallow: /docs/
23+
Disallow: /images/
24+
Disallow: /favicons/
25+
26+
Sitemap: https://district0x.io/sitemap.xml
27+
28+
# Block media files by extension (catch-all for assets outside the above dirs)
29+
Disallow: /*.pdf$
30+
Disallow: /*.png$
31+
Disallow: /*.jpg$
32+
Disallow: /*.jpeg$
33+
Disallow: /*.gif$
34+
Disallow: /*.webp$
35+
Disallow: /*.svg$
36+
Disallow: /*.ico$
37+
Disallow: /*.mp4$
38+
Disallow: /*.webm$
39+
Disallow: /*.mp3$
40+
Disallow: /*.wav$
41+
Disallow: /*.woff$
42+
Disallow: /*.woff2$
43+
Disallow: /*.ttf$

0 commit comments

Comments
 (0)