You've already forked mastodon-utils
							
							
				mirror of
				https://github.com/jakejarvis/mastodon-utils.git
				synced 2025-11-04 10:20:11 -05: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