Change robots.txt to exclude only media proxy URLs (#10038)

* Revert "Change robots.txt to exclude some URLs (#10037)"

This reverts commit 0e8ebc2371.

* 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
lolsob-rspec
nightpool 2019-02-13 21:11:47 -05:00 committed by Eugen Rochko
parent a679867d38
commit b5e767c04b
1 changed files with 4 additions and 13 deletions

View File

@ -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/