Skip to content

Commit 55465fe

Browse files
authored
Merge pull request #388 from itk-dev/feature/robots.txt
Cleaned up robots.txt
2 parents 242a6b6 + 54371e9 commit 55465fe

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
/web/autoload.php
9494
/web/example.gitignore
9595
/web/index.php
96-
/web/robots.txt
9796
/web/update.php
9897
/web/web.config
9998
/web/modules/README.txt
@@ -169,7 +168,6 @@
169168
/web/INSTALL.txt
170169
/web/LICENSE.txt
171170
/web/README.txt
172-
/web/robots.txt
173171
/web/update.php
174172
/web/web.config
175173

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
- [PR-388](https://github.com/itk-dev/os2loop/pull/388)
12+
Cleaned up robots.txt
1113
- [PR-387](https://github.com/itk-dev/os2loop/pull/387)
1214
Disabled caching of error pages
1315
- [PR-385](https://github.com/itk-dev/os2loop/pull/385)

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
},
171171
"drupal-scaffold": {
172172
"file-mapping": {
173+
"[web-root]/robots.txt": false,
173174
"[web-root]/sites/development.services.yml": false
174175
},
175176
"locations": {

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/robots.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# robots.txt
3+
#
4+
# This file is to prevent the crawling and indexing of certain parts
5+
# of your site by web crawlers and spiders run by sites like Yahoo!
6+
# and Google. By telling these "robots" where not to go on your site,
7+
# you save bandwidth and server resources.
8+
#
9+
# This file will be ignored unless it is at the root of your host:
10+
# Used: http://example.com/robots.txt
11+
# Ignored: http://example.com/site/robots.txt
12+
#
13+
# For more information about the robots.txt standard, see:
14+
# http://www.robotstxt.org/robotstxt.html
15+
16+
# We don't want anything to index anything.
17+
User-agent: *
18+
Disallow: /

0 commit comments

Comments
 (0)