-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrobots.txt
More file actions
48 lines (38 loc) · 871 Bytes
/
robots.txt
File metadata and controls
48 lines (38 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# robots.txt - SEO Configuration for helloemily.dev
# For more information, see https://developers.google.com/search/docs/beginner/how-search-works
# Allow all bots to crawl the site
User-agent: *
Allow: /
# Specific rules
Allow: /blog/
Allow: /pages/
Allow: /images/
Allow: /css/
Allow: /js/
Allow: /data/
# Disallow private/meta content
Disallow: /blog-drafts/
Disallow: /.git/
Disallow: /.github/
Disallow: /node_modules/
Disallow: /tests/
Disallow: /.env
Disallow: /.env.local
Disallow: /.env.local.example
# Sitemap location
Sitemap: https://helloemily.dev/sitemap.xml
# Crawl delay (optional - be polite to search engines)
# Crawl-delay: 1
# For Google specifically
User-agent: Googlebot
Allow: /
# For Bing
User-agent: Bingbot
Allow: /
# Block bad bots
User-agent: MJ12bot
Disallow: /
User-agent: AhrefsBot
Disallow: /
User-agent: SemrushBot
Disallow: /