AhrefsBot
AhrefsBot is Ahrefs's crawler for building the index its search and answers draw on.
Should you let it in?
Allow or block AhrefsBot
Yes, if you want to appear in Ahrefs's search and answers. Blocking it can keep your pages out of them.
To ask it to stay out, add this to robots.txt. Whether it follows robots.txt is Ahrefs's call; its documentation says.
User-agent: AhrefsBot
Disallow: /Is it really?
How to tell a real AhrefsBot from an impostor
Anyone can put “AhrefsBot” in a user agent. What can't be faked:
- Check the address. Ahrefs publishes the IP ranges AhrefsBot uses: api.ahrefs.com/v3/public/crawler-ip-ranges. A request whose user agent says AhrefsBot from an address outside them is an impostor.
- Check reverse DNS. Look up the requesting IP's host name; it should end in
ahrefs.comorahrefs.net. Then look that name up and make sure it resolves back to the same IP, since anyone can set a reverse DNS name on their own addresses.
In Punchline
How Punchline counts AhrefsBot
Punchline labels a request that names AhrefsBot with how sure it is: verified or declared when the evidence checks out, a lower tier when it can't be checked, and impostor when the evidence contradicts it. Each visit is counted under Ahrefs, with its purpose, so you can see whether AhrefsBot is reading your site and which pages it reads. How it works · Known agents