You've already forked mastodon-utils
mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2026-06-13 02:05:27 -04:00
specifically block Twitterbot from robots.txt
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
diff --git a/public/robots.txt b/public/robots.txt
|
||||
index 771bf2160..1f53798bb 100644
|
||||
index 771bf2160b..af16ddb0ce 100644
|
||||
--- a/public/robots.txt
|
||||
+++ b/public/robots.txt
|
||||
@@ -1,5 +1,2 @@
|
||||
@@ -1,5 +1,8 @@
|
||||
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
||||
-
|
||||
+# block everything except About page
|
||||
User-agent: *
|
||||
-Disallow: /media_proxy/
|
||||
-Disallow: /interact/
|
||||
+Allow: /about
|
||||
+Disallow: /
|
||||
+
|
||||
+# sorry, Elon
|
||||
+User-agent: Twitterbot
|
||||
+Disallow: /
|
||||
|
||||
Reference in New Issue
Block a user