Skip to content

Commit fb70001

Browse files
nightpoolGargron
authored andcommitted
Change robots.txt to exclude only media proxy URLs (mastodon#10038)
* Revert "Change robots.txt to exclude some URLs (mastodon#10037)" This reverts commit 80161f4. * 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
1 parent 56f2029 commit fb70001

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

public/robots.txt

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
User-Agent: *
2-
Disallow: /users/*/followers
3-
Disallow: /users/*/following
4-
Disallow: /@*/media
5-
Disallow: /@*/with_replies
6-
Disallow: /@*/tagged/*
7-
Disallow: /media_proxy/*
8-
Disallow: /emoji/*
9-
Disallow: /packs/*
10-
Disallow: /sounds/*
11-
Disallow: /system/*
12-
Disallow: /avatars/*
13-
Disallow: /headers/*
1+
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2+
3+
User-agent: *
4+
Disallow: /media_proxy/

0 commit comments

Comments
 (0)