X (Twitter) / robots.txt snapshot
← back to x.com · fetched 2026-07-07T02:22:00Z (30d ago) · HTTP 200 · 2932 bytes · sha256 ca89b3e4df43728a · raw
final URL: https://x.com/robots.txt
| 1 | # Google Search Engine Robot |
| 2 | # ========================== |
| 3 | User-agent: Googlebot |
| 4 | |
| 5 | Allow: /*?s= |
| 6 | Allow: /*?t= |
| 7 | Allow: /*?ref_src= |
| 8 | Allow: /hashtag/*?src= |
| 9 | Allow: /search?q=%23 |
| 10 | Allow: /i/api/ |
| 11 | # Same length as the /*/likes and /*/media rules; RFC 9309 breaks the tie in |
| 12 | # favor of Allow, so /i/api/ fetches stay crawlable. |
| 13 | Allow: /i/api/* |
| 14 | Disallow: /*?lang=en-ss |
| 15 | Allow: /*?lang= |
| 16 | Disallow: /search/realtime |
| 17 | Disallow: /search/users |
| 18 | Disallow: /search/*/grid |
| 19 | |
| 20 | Disallow: /*/analytics |
| 21 | Disallow: /*/followers |
| 22 | Disallow: /*/following |
| 23 | Disallow: /*/verified_followers |
| 24 | |
| 25 | Disallow: /account/deactivated |
| 26 | Disallow: /settings/deactivated |
| 27 | |
| 28 | # Only `*` and `$` are metacharacters here (RFC 9309); regex classes match |
| 29 | # literally. /photo is anchored so /status/*/photo/1 media pages stay open. |
| 30 | Disallow: /*/status/*/likes |
| 31 | Disallow: /*/status/*/retweets |
| 32 | Disallow: /*/likes |
| 33 | Disallow: /*/likes? |
| 34 | Disallow: /*/media |
| 35 | Disallow: /*/media? |
| 36 | Disallow: /*/photo$ |
| 37 | Disallow: /*/photo? |
| 38 | Allow: /*? |
| 39 | |
| 40 | User-agent: Bingbot |
| 41 | |
| 42 | Allow: /*?s= |
| 43 | Allow: /*?t= |
| 44 | Allow: /*?ref_src= |
| 45 | Allow: /hashtag/*?src= |
| 46 | Allow: /search?q=%23 |
| 47 | Allow: /i/api/ |
| 48 | Allow: /i/api/* |
| 49 | Disallow: /*?lang=en-ss |
| 50 | Allow: /*?lang= |
| 51 | Disallow: /search/realtime |
| 52 | Disallow: /search/users |
| 53 | Disallow: /search/*/grid |
| 54 | |
| 55 | Disallow: /*/analytics |
| 56 | Disallow: /*/followers |
| 57 | Disallow: /*/following |
| 58 | Disallow: /*/verified_followers |
| 59 | |
| 60 | Disallow: /account/deactivated |
| 61 | Disallow: /settings/deactivated |
| 62 | |
| 63 | Disallow: /*/status/*/likes |
| 64 | Disallow: /*/status/*/retweets |
| 65 | Disallow: /*/likes |
| 66 | Disallow: /*/likes? |
| 67 | Disallow: /*/media |
| 68 | Disallow: /*/media? |
| 69 | Disallow: /*/photo$ |
| 70 | Disallow: /*/photo? |
| 71 | Allow: /*? |
| 72 | |
| 73 | User-agent: facebookexternalhit |
| 74 | |
| 75 | Allow: /*?lang= |
| 76 | Allow: /*?s= |
| 77 | Allow: /*?t= |
| 78 | Allow: /*?ref_src= |
| 79 | Allow: /hashtag/*?src= |
| 80 | Allow: /search?q=%23 |
| 81 | Allow: /search?*cashtagRestId= |
| 82 | Allow: /i/api/ |
| 83 | Allow: /i/api/* |
| 84 | Disallow: /search/realtime |
| 85 | Disallow: /search/users |
| 86 | Disallow: /search/*/grid |
| 87 | |
| 88 | Disallow: /*? |
| 89 | Disallow: /*/followers |
| 90 | Disallow: /*/following |
| 91 | Disallow: /*/verified_followers |
| 92 | |
| 93 | Disallow: /account/deactivated |
| 94 | Disallow: /settings/deactivated |
| 95 | |
| 96 | Disallow: /*/status/*/likes |
| 97 | Disallow: /*/status/*/retweets |
| 98 | Disallow: /*/likes |
| 99 | Disallow: /*/likes? |
| 100 | Disallow: /*/media |
| 101 | Disallow: /*/media? |
| 102 | Disallow: /*/photo$ |
| 103 | Disallow: /*/photo? |
| 104 | |
| 105 | User-Agent: Google-Extended |
| 106 | Disallow: * |
| 107 | |
| 108 | User-Agent: FacebookBot |
| 109 | Disallow: * |
| 110 | |
| 111 | User-agent: Discordbot |
| 112 | Disallow: * |
| 113 | |
| 114 | # Every bot that might possibly read and respect this file |
| 115 | # ======================================================== |
| 116 | User-agent: * |
| 117 | Disallow: / |
| 118 | |
| 119 | |
| 120 | # WHAT-4882 - Keep notification-email links (/i/u) out of search results. |
| 121 | # Named crawlers stay un-blocked on purpose: they must crawl /i/u to see its |
| 122 | # X-Robots-Tag noindex (the robots.txt Noindex directive died in 2019). |
| 123 | Disallow: /i/u |
| 124 | |
| 125 | # Wait 1 second between successive requests. See ONBOARD-2698 for details. |
| 126 | Crawl-delay: 1 |
| 127 | |
| 128 | # Independent of user agent. Links in the sitemap are full URLs using https:// |
| 129 | # and need to match the protocol of the sitemap. |
| 130 | Sitemap: https://x.com/sitemap.xml |