1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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

- Exclude static assets
- Exclude uploaded files
- Exclude alternate versions of the profile page
- Exclude media proxy URLs
This commit is contained in:
Eugen Rochko 2019-02-13 21:28:18 +01:00 committed by GitHub
parent 7750416597
commit 80161f4351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,13 @@
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
# User-agent: *
# Disallow: /
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/*