about summary refs log tree commit diff
path: root/public/robots.txt
diff options
context:
space:
mode:
authornightpool <nightpool@users.noreply.github.com>2019-02-13 21:11:47 -0500
committerEugen Rochko <eugen@zeonfederated.com>2019-02-14 03:11:47 +0100
commita5992e58832fdc0199f70ed2fa791a619fcad258 (patch)
treeaf16de24c2de9d606f6c729bbe2cbbae0a76077d /public/robots.txt
parent309043b158f5a4187b6f603f346ed17ee6ddb190 (diff)
Change robots.txt to exclude only media proxy URLs (#10038)
* Revert "Change robots.txt to exclude some URLs (#10037)"

This reverts commit 80161f43510ad9316c60c9b50dd5c09c2dae4d54.

* Let's block media_proxy

/media_proxy/ is a dynamic route used for requesting uncached media, so it's
probably bad to let crawlers use it

* misleading comment
Diffstat (limited to 'public/robots.txt')
-rw-r--r--public/robots.txt17
1 files changed, 4 insertions, 13 deletions
diff --git a/public/robots.txt b/public/robots.txt
index 36afc85ef..d93648bee 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1,13 +1,4 @@
-User-Agent: *
-Disallow: /users/*/followers
-Disallow: /users/*/following
-Disallow: /@*/media
-Disallow: /@*/with_replies
-Disallow: /@*/tagged/*
-Disallow: /media_proxy/*
-Disallow: /emoji/*
-Disallow: /packs/*
-Disallow: /sounds/*
-Disallow: /system/*
-Disallow: /avatars/*
-Disallow: /headers/*
+# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
+
+User-agent: *
+Disallow: /media_proxy/