mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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:
parent
7750416597
commit
80161f4351
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user