Skip to content

Commit 2c78835

Browse files
committed
fix(seo): correct xAI UA strings, drop Bravebot, block /playground/ and /w/ from link-preview bots
1 parent a40dc53 commit 2c78835

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

apps/sim/app/robots.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ const DISALLOWED_PATHS = [
2424
/**
2525
* Tighter disallow list for link-preview bots. They fetch single URLs to
2626
* render Open Graph cards rather than crawl, so publicly-shareable surfaces
27-
* like /chat/, /form/, and /w/ must be reachable for previews to render.
27+
* like /chat/ and /form/ must be reachable for previews to render. Other
28+
* authenticated routes (/workspace/, /w/, /playground/) stay blocked.
2829
*/
2930
const LINK_PREVIEW_DISALLOWED_PATHS = [
3031
'/api/',
3132
'/workspace/',
33+
'/w/',
34+
'/playground/',
3235
'/resume/',
3336
'/invite/',
3437
'/unsubscribe/',
@@ -49,7 +52,6 @@ const SEARCH_AND_AI_BOTS = [
4952
'Bingbot',
5053
'DuckDuckBot',
5154
'Kagibot',
52-
'Bravebot',
5355
// Regional search engines
5456
'YandexBot',
5557
'Baiduspider',
@@ -82,7 +84,9 @@ const SEARCH_AND_AI_BOTS = [
8284
'CCBot',
8385
'cohere-ai',
8486
'cohere-training-data-crawler',
85-
'Grok-web-crawl',
87+
'GrokBot',
88+
'xAI-Grok',
89+
'Grok-DeepSearch',
8690
'MistralAI-User',
8791
'DeepSeek-AI',
8892
'YouBot',

0 commit comments

Comments
 (0)