Bots by company
Ahrefs bots and crawlers
Ahrefs runs an SEO platform with one of the largest backlink indexes, plus the Yep search engine.
Ahrefs bots at a glance
- Ahrefs runs 2 bots listed in this directory.
- They belong to: SEO Tool Crawlers.
- Each Ahrefs bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: ahrefs.com
Every Ahrefs bot
| Bot | Group | Purpose | robots.txt | For GEO |
|---|---|---|---|---|
| AhrefsBot | SEO Tool Crawlers | Search indexProduct featureOfficial docs | Yes | Your choice |
| AhrefsSiteAudit | SEO Tool Crawlers | Product featureOfficial docs | Yes | Allow |
How to manage Ahrefs bot access by purpose
Review the role you need before making an operator-wide rule. A bot can appear in more than one row. Follow its profile for the exact token, evidence and policy exceptions.
| Purpose | Bots in this directory | What to check |
|---|---|---|
| Search index | AhrefsBot | If this search engine sends useful traffic, check that canonical pages are reachable. Use the engine’s supported removal controls if the objective is to remove an indexed URL. |
| Product feature | AhrefsBot, AhrefsSiteAudit | Identify the product feature in the source and test one URL it needs. Keep access limited to the site, paths or project that actually uses the feature. |
Block or allow all Ahrefs bots
The rules below name every Ahrefs token in this directory. For a narrower rule, select the exact tokens from the purpose table above and check each profile for scope and exceptions.
robots.txt: block
# Block all Ahrefs bots
User-agent: AhrefsBot
User-agent: AhrefsSiteAudit
Disallow: /robots.txt: allow
# Allow all Ahrefs bots
User-agent: AhrefsBot
User-agent: AhrefsSiteAudit
Allow: /robots.txt: partial
# Keep all Ahrefs bots out of private areas only
User-agent: AhrefsBot
User-agent: AhrefsSiteAudit
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to all Ahrefs bots
if ($http_user_agent ~* "(AhrefsBot|AhrefsSiteAudit)") {
return 403;
}Apache
# Apache .htaccess: return 403 to all Ahrefs bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (AhrefsBot|AhrefsSiteAudit) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "AhrefsBot") or (http.user_agent contains "AhrefsSiteAudit")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.