-
Notifications
You must be signed in to change notification settings - Fork 381
/
robots.txt
79 lines (78 loc) · 2.02 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
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# robots.txt
#
# This file is to prevent the crawling and indexing of certain parts
# of your site by web crawlers and spiders run by sites like Yahoo!
# and Google. By telling these "robots" where not to go on your site,
# you save bandwidth and server resources.
#
# This file will be ignored unless it is at the root of your host:
# Used: http://example.com/robots.txt
# Ignored: http://example.com/site/robots.txt
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/robotstxt.html
#
# For syntax checking, see:
# http://www.robotstxt.org/checker.html
User-agent: *
Crawl-delay: 10
# CSS, JS, Images
Allow: /core/misc/*.css$
Allow: /core/misc/*.css?
Allow: /core/misc/*.js$
Allow: /core/misc/*.js?
Allow: /core/misc/*.gif
Allow: /core/misc/*.jpg
Allow: /core/misc/*.jpeg
Allow: /core/misc/*.png
Allow: /core/modules/*.css$
Allow: /core/modules/*.css?
Allow: /core/modules/*.js$
Allow: /core/modules/*.js?
Allow: /core/modules/*.gif
Allow: /core/modules/*.jpg
Allow: /core/modules/*.jpeg
Allow: /core/modules/*.png
Allow: /core/profiles/*.css$
Allow: /core/profiles/*.css?
Allow: /core/profiles/*.js$
Allow: /core/profiles/*.js?
Allow: /core/profiles/*.gif
Allow: /core/profiles/*.jpg
Allow: /core/profiles/*.jpeg
Allow: /core/profiles/*.png
Allow: /core/themes/*.css$
Allow: /core/themes/*.css?
Allow: /core/themes/*.js$
Allow: /core/themes/*.js?
Allow: /core/themes/*.gif
Allow: /core/themes/*.jpg
Allow: /core/themes/*.jpeg
Allow: /core/themes/*.png
# Directories
Disallow: /core/
Disallow: /profiles/
# Files
Disallow: /README.md
Disallow: /web.config
# Paths (clean URLs)
Disallow: /admin
Disallow: /comment/reply
Disallow: /filter/tips
Disallow: /node/add
Disallow: /search
Disallow: /user/register
Disallow: /user/password
Disallow: /user/login
Disallow: /user/logout
# Paths (no clean URLs)
Disallow: /?q=admin
Disallow: /?q=comment/reply
Disallow: /?q=filter/tips
Disallow: /?q=node/add
Disallow: /?q=search
Disallow: /?q=user/password
Disallow: /?q=user/register
Disallow: /?q=user/login
Disallow: /?q=user/logout