-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrobots.txt
66 lines (57 loc) · 1.34 KB
/
robots.txt
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# robots.txt Template
# Updated: 2024
# Website: thinkglobalactlocal.io
# Global settings for all robots
User-agent: *
# Allow all robots to access the entire site
Allow: /
# Disallow access to specific folders
Disallow: /private/
Disallow: /admin/
Disallow: /backend/
Disallow: /tmp/
Disallow: /includes/
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
# Disallow specific file types
Disallow: /*.php$
Disallow: /*.sql$
Disallow: /*.log$
Disallow: /*.conf$
Disallow: /*.env$
Disallow: /*.json$
Disallow: /*.xml$
Disallow: /*.yml$
Disallow: /*.ini$
# Prevent access to specific pages
Disallow: /login
Disallow: /signup
Disallow: /cart
Disallow: /checkout
Disallow: /thank-you
Disallow: /order-confirmation
Disallow: /my-account
# Crawl-delay directive (in seconds) - use carefully
# Crawl-delay: 10
# Specific rules for Google bot
User-agent: Googlebot
Allow: /public/
Allow: /products/
Allow: /blog/
Disallow: /products/discontinued/
# Specific rules for Bing bot
User-agent: Bingbot
Allow: /public/
Allow: /products/
Allow: /blog/
Disallow: /products/discontinued/
# Block specific bots
User-agent: BadBot
Disallow: /
# Sitemap locations
Sitemap: https://example.com/sitemap.xml
Sitemap: https://example.com/sitemap-products.xml
Sitemap: https://example.com/sitemap-blog.xml
# Host directive (optional - use only if needed)
# Host: example.com