01 · Operator
Who operates LinkedInBot
- Company
- Type
- Social preview bot
02 · Behavior
What LinkedInBot does
When a user shares a link on LinkedIn, the bot fetches the page. It reads the title, description and image to build the preview card.
03 · Impact
Why LinkedInBot matters for your site
If you allow it
- Shared links show proper previews on LinkedIn
- Supports visibility and clicks from LinkedIn
If you block it
- Little value if you never want pages shared on LinkedIn
04 · Allow
How to allow LinkedInBot
robots.txt
User-agent: LinkedInBot
Allow: /
Cloudflare
# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "LinkedInBot")
Action: Skip › All Super Bot Fight Mode rules
# Also check Security › Bots: "Block AI bots" can block it regardless of robots.txt.
WordPress
# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: LinkedInBot
Allow: /
nginx
# nginx serves every user agent by default.
# Make sure no rule like this blocks it:
# if ($http_user_agent ~* "LinkedInBot") { return 403; }
Apache
# Apache serves every user agent by default.
# Make sure .htaccess has no rule like this:
# RewriteCond %{HTTP_USER_AGENT} LinkedInBot [NC]
# RewriteRule .* - [F,L]
05 · Block
How to block LinkedInBot
Start with robots.txt. If LinkedInBot keeps showing up in your logs, block it at your CDN or web server.
robots.txt
User-agent: LinkedInBot
Disallow: /
Cloudflare
# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "LinkedInBot")
Action: Block
WordPress
# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: LinkedInBot
Disallow: /
nginx
# In your server { } block:
if ($http_user_agent ~* "LinkedInBot") {
return 403;
}
Apache
# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} LinkedInBot [NC]
RewriteRule .* - [F,L]
</IfModule>
06 · User agents
User agents we see for LinkedInBot
| User agent | Share | Last seen | Status |
|---|---|---|---|
LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com) |
64% | Unverified | |
LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com) |
36% | Verified |
07 · Verification
Is it really LinkedInBot?
LinkedInBot’s operator publishes no IP ranges or hostnames, so requests cannot be verified. Treat the user agent as a claim, and watch your logs for unusual request rates.
IP addresses we saw from verified LinkedInBot requests
| IP range | Share | Last seen |
|---|---|---|
108.174.8.25 |
59% | |
108.174.8.21 |
41% |
Always check against the operator’s current list; ranges change.
FAQ
Questions about LinkedInBot
What is LinkedInBot?
It is the agent LinkedIn uses to fetch shared links. It builds the preview card shown in posts and messages.
Should I block LinkedInBot?
Usually not. Blocking it can stop your links from showing a preview on LinkedIn.
Last reviewed Oct 8, 2026