mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 21:15:05 +01:00
Change robots.txt to exclude only media proxy URLs (#10038)
* Revert "Change robots.txt to exclude some URLs (#10037)"
This reverts commit 80161f4351
.
* 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
This commit is contained in:
parent
309043b158
commit
a5992e5883
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user