Bot directory · SEO tool
AhrefsBot
Crawls the web to build the link and content database behind the Ahrefs SEO platform and the Yep search engine.
At a glance
- Operator
- Ahrefs
- Purpose
- SEO tool
- robots.txt token
AhrefsBot- Obeys robots.txt
- YesAhrefs says AhrefsBot obeys robots.txt allow and disallow rules and Crawl-delay, although Crawl-delay cannot be applied to assets fetched while rendering JavaScript.
- Published IP ranges
- api.ahrefs.com/v3/public/crawler-ip-ranges
- Reverse DNS
ahrefs.com,ahrefs.net
User agent
As Ahrefs documents it. Version numbers can change.
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) Block or allow AhrefsBot in robots.txt
To keep AhrefsBot off the whole site:
User-agent: AhrefsBot
Disallow: / To keep it out of one folder and allow the rest:
User-agent: AhrefsBot
Disallow: /private/
A group for AhrefsBot replaces your User-agent: * rules for this bot,
so repeat any general rules you still want it to follow. Check the result with the robots.txt checker.
How to verify AhrefsBot
Ahrefs publishes the IP addresses AhrefsBot uses. A request is genuine if it comes from one of them.
Paste an IP from your logs into the bot IP verifier to check it.
Good to know
Ahrefs also runs AhrefsSiteAudit, which obeys robots.txt by default but can be set to ignore it by verified owners of the site being audited. Individual IPs are also published at https://api.ahrefs.com/v3/public/crawler-ips.
Questions
What is AhrefsBot?
AhrefsBot is Ahrefs’s seo tool crawler. Crawls the web to build the link and content database behind the Ahrefs SEO platform and the Yep search engine.
How do I block AhrefsBot?
Add “User-agent: AhrefsBot” followed by “Disallow: /” to your robots.txt. Ahrefs says AhrefsBot follows robots.txt.
How do I know a request really comes from AhrefsBot?
Ahrefs publishes the IP addresses AhrefsBot uses. A request is genuine if it comes from one of them.