Why Do I See robots.txt in My Web Stats

Website Tools & SEO | Updated March 2026

If you see "robots.txt" appearing frequently in your AWStats or Webalizer reports, that's normal. Search engine bots (Googlebot, Bingbot, etc.) check your robots.txt file before crawling your site. Every visit from a bot generates a hit on robots.txt. This is expected behavior and not a problem.

01. What Is robots.txt

Robots.txt is a text file in your website's root directory (public_html/robots.txt) that tells search engine bots which pages they should and shouldn't crawl. Before a bot crawls any page on your site, it checks robots.txt first.

If you don't have a robots.txt file, bots will look for it anyway (getting a 404), and you'll still see it in your stats. Creating one gives you control over what gets indexed.

02. Creating a Basic robots.txt

Create a file called robots.txt in your public_html directory with this content:

User-agent: *
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml

This tells all bots they can crawl everything, and points them to your sitemap. WordPress generates a sitemap automatically (usually at /wp-sitemap.xml), or you can use a plugin like Yoast SEO to create one.

For blocking bots from specific directories or for blocking abusive crawlers, see our Resource Limit guide which covers bot blocking techniques.

03. Understanding Your Web Stats

cPanel includes two web statistics tools in the Metrics section:

  • AWStats - detailed traffic reports with visitor counts, bandwidth, referrers, and search engine activity
  • Webalizer - simpler visual reports with monthly traffic graphs

Both tools count robots.txt hits. This inflates your total "hits" count but does not affect your actual visitor count or bandwidth in any meaningful way. For more accurate visitor analytics, use Google Analytics (free), which only tracks real human visitors.

Concerned About Bot Traffic?

If bots are consuming excessive resources (not just showing up in stats), see our resource limit guide for blocking techniques, or open a ticket.

Open a Support Ticket

Last updated March 2026 · Browse all SEO articles

  • 492 Users Found This Useful

Was this answer helpful?

Related Articles

New registrations are generally ready immediately to 24 hours

Article Updated This article has been consolidated Account provisioning information is...

How do I customize error messages for my site?

Errors & Troubleshooting | Updated 2026 When visitors hit a 404 (page not found), 403...

Do you support Curl?

Purchase Questions | Updated 2026 Quick Answer Yes, cURL is fully supported on all Ultra...

99% Uptime Guarantee? What happens if you are not up 99%?

Purchase Questions | Updated 2026 Ultra Web Hosting offers a 99.9% uptime guarantee on all...

Zend Guard Hosting

PHP Scripts | Updated March 2026 Zend Guard is a PHP encoding and obfuscation tool used to...



Save 30% on web hosting - Use coupon code Hosting30