update robots.txt to only exclude specific subdirectories of /static
This commit is contained in:
		
							parent
							
								
									2e14197fd1
								
							
						
					
					
						commit
						1e3a1f3527
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4,8 +4,13 @@ User-Agent: *
 | 
			
		|||
 | 
			
		||||
Allow: *
 | 
			
		||||
 | 
			
		||||
# /static does not contain any pages.
 | 
			
		||||
Disallow: /static
 | 
			
		||||
# Some /static subdirectories are not crucial to rendering content and should not be crawled by bots.
 | 
			
		||||
Disallow: /static/chat
 | 
			
		||||
Disallow: /static/font
 | 
			
		||||
Disallow: /static/js
 | 
			
		||||
Disallow: /static/syntax
 | 
			
		||||
Disallow: /static/text
 | 
			
		||||
Disallow: /static/wasm
 | 
			
		||||
# /_treehouse contains system pages such as the 404 page.
 | 
			
		||||
Disallow: /_treehouse
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue