Skip to content

Commit 2aff30f

Browse files
authored
Create robots.txt
Added a robots.txt file to avoid scraping Signed-off-by: Jonathan Peters <jonathanpeters051@gmail.com>
1 parent ef5e36a commit 2aff30f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

robots.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Allow all major search engines
2+
User-agent: Googlebot
3+
Disallow:
4+
5+
User-agent: Bingbot
6+
Disallow:
7+
8+
User-agent: Slurp
9+
Disallow:
10+
11+
# Block known bad bots and generic scrapers
12+
User-agent: AhrefsBot
13+
Disallow: /
14+
15+
User-agent: SemrushBot
16+
Disallow: /
17+
18+
User-agent: MJ12bot
19+
Disallow: /
20+
21+
User-agent: DotBot
22+
Disallow: /
23+
24+
User-agent: BlexBot
25+
Disallow: /
26+
27+
# Block all other bots (catch-all)
28+
User-agent: *
29+
Disallow: /
30+
31+
Sitemap: https://yourdomain.com/sitemap.xml

0 commit comments

Comments
 (0)