robots.txt 1.56 KB
Newer Older
drumm's avatar
drumm committed
1
#
2 3
# robots.txt
#
4
# This file is to prevent the crawling and indexing of certain parts
5 6
# 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,
7 8
# you save bandwidth and server resources.
#
9 10 11 12
# 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
#
13
# For more information about the robots.txt standard, see:
14
# http://www.robotstxt.org/robotstxt.html
15 16

User-agent: *
17
# CSS, JS, Images
18
Allow: /core/*.css$
19
Allow: /core/*.css?
20
Allow: /core/*.js$
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Allow: /core/*.js?
Allow: /core/*.gif
Allow: /core/*.jpg
Allow: /core/*.jpeg
Allow: /core/*.png
Allow: /core/*.svg
Allow: /profiles/*.css$
Allow: /profiles/*.css?
Allow: /profiles/*.js$
Allow: /profiles/*.js?
Allow: /profiles/*.gif
Allow: /profiles/*.jpg
Allow: /profiles/*.jpeg
Allow: /profiles/*.png
Allow: /profiles/*.svg
36
# Directories
37
Disallow: /core/
38
Disallow: /profiles/
39
# Files
40 41
Disallow: /README.txt
Disallow: /web.config
42 43 44
# Paths (clean URLs)
Disallow: /admin/
Disallow: /comment/reply/
45
Disallow: /filter/tips/
46 47 48 49
Disallow: /node/add/
Disallow: /search/
Disallow: /user/register/
Disallow: /user/password/
50
Disallow: /user/login/
51
Disallow: /user/logout/
52
# Paths (no clean URLs)
53 54 55 56 57 58 59 60 61
Disallow: /index.php/admin/
Disallow: /index.php/comment/reply/
Disallow: /index.php/filter/tips/
Disallow: /index.php/node/add/
Disallow: /index.php/search/
Disallow: /index.php/user/password/
Disallow: /index.php/user/register/
Disallow: /index.php/user/login/
Disallow: /index.php/user/logout/