Skip to content

Commit

Permalink
Add translated routes to block to robots.txt (#4205)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida authored Apr 25, 2024
1 parent feb8e00 commit 17c3640
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/server-middleware/robots.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ Disallow: /search/image/
Disallow: /search/
Disallow: /image/
Disallow: /audio/
# Disallow the same for all translated routes
Disallow: /*/search/audio/
Disallow: /*/search/image/
Disallow: /*/search/
Disallow: /*/image/
Disallow: /*/audio/
${aiDisallowRules}
`
Expand Down

0 comments on commit 17c3640

Please sign in to comment.