File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ Drupal 7.50, xxxx-xx-xx (development version)
32
32
tests within a project.
33
33
- Made run-tests.sh exit with a failure code when there are test fails or
34
34
problems running the script.
35
+ - Fixed robots.txt to allow search engines to access CSS, JavaScript and image
36
+ files.
35
37
36
38
Drupal 7.44, 2016-06-15
37
39
-----------------------
Original file line number Diff line number Diff line change 15
15
16
16
User-agent: *
17
17
Crawl-delay: 10
18
+ # CSS, JS, Images
19
+ Allow: /misc/*.css$
20
+ Allow: /misc/*.css?
21
+ Allow: /misc/*.js$
22
+ Allow: /misc/*.js?
23
+ Allow: /misc/*.gif
24
+ Allow: /misc/*.jpg
25
+ Allow: /misc/*.jpeg
26
+ Allow: /misc/*.png
27
+ Allow: /modules/*.css$
28
+ Allow: /modules/*.css?
29
+ Allow: /modules/*.js$
30
+ Allow: /modules/*.js?
31
+ Allow: /modules/*.gif
32
+ Allow: /modules/*.jpg
33
+ Allow: /modules/*.jpeg
34
+ Allow: /modules/*.png
35
+ Allow: /profiles/*.css$
36
+ Allow: /profiles/*.css?
37
+ Allow: /profiles/*.js$
38
+ Allow: /profiles/*.js?
39
+ Allow: /profiles/*.gif
40
+ Allow: /profiles/*.jpg
41
+ Allow: /profiles/*.jpeg
42
+ Allow: /profiles/*.png
43
+ Allow: /themes/*.css$
44
+ Allow: /themes/*.css?
45
+ Allow: /themes/*.js$
46
+ Allow: /themes/*.js?
47
+ Allow: /themes/*.gif
48
+ Allow: /themes/*.jpg
49
+ Allow: /themes/*.jpeg
50
+ Allow: /themes/*.png
18
51
# Directories
19
52
Disallow: /includes/
20
53
Disallow: /misc/
You can’t perform that action at this time.
0 commit comments