Bots by company
LinkedIn bots and crawlers
LinkedIn runs the professional social network, owned by Microsoft.
LinkedIn bots at a glance
- LinkedIn runs 1 bot listed in this directory.
- They belong to: Social and Messaging Previews.
- Each LinkedIn bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: www.linkedin.com
Every LinkedIn bot
| Bot | Group | Purpose | robots.txt | For GEO |
|---|---|---|---|---|
| LinkedInBot | Social and Messaging Previews | Link previewReported | Not documented | Allow |
Block or allow all LinkedIn bots
The rules below name every LinkedIn token in this directory. To block training but keep AI search, delete the search and assistant tokens from the block rule.
robots.txt: block
# Block all LinkedIn bots
User-agent: LinkedInBot
Disallow: /robots.txt: allow
# Allow all LinkedIn bots
User-agent: LinkedInBot
Allow: /robots.txt: partial
# Keep all LinkedIn bots out of private areas only
User-agent: LinkedInBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to all LinkedIn bots
if ($http_user_agent ~* "(LinkedInBot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to all LinkedIn bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (LinkedInBot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "LinkedInBot")See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.