diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-09-15 17:40:13 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-09-15 17:40:15 -0700 |
commit | 7b80bfe54783bd662d0e71b3eee09c5ecf304355 (patch) | |
tree | 92277f982452fe34b7f1c7de2cbad2b3050004b9 /fatcat_scholar/static | |
parent | 0ec7f4a0fc8da9d37ad8afe60da070aaded8d5f2 (diff) | |
download | fatcat-scholar-7b80bfe54783bd662d0e71b3eee09c5ecf304355.tar.gz fatcat-scholar-7b80bfe54783bd662d0e71b3eee09c5ecf304355.zip |
web robots.txt
Two variants depending on environment.
Diffstat (limited to 'fatcat_scholar/static')
-rw-r--r-- | fatcat_scholar/static/robots.allow.txt | 5 | ||||
-rw-r--r-- | fatcat_scholar/static/robots.disallow.txt | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/fatcat_scholar/static/robots.allow.txt b/fatcat_scholar/static/robots.allow.txt new file mode 100644 index 0000000..3c40454 --- /dev/null +++ b/fatcat_scholar/static/robots.allow.txt @@ -0,0 +1,5 @@ +# Allow most queries, but please don't crawl search results (or at least do so very politely, eg no parallel requests) + +User-Agent: * +Disallow: /search +Allow: / diff --git a/fatcat_scholar/static/robots.disallow.txt b/fatcat_scholar/static/robots.disallow.txt new file mode 100644 index 0000000..de20247 --- /dev/null +++ b/fatcat_scholar/static/robots.disallow.txt @@ -0,0 +1,4 @@ +# By default (eg, in QA/development) set robots to disallow all + +User-Agent: * +Disallow: / |