The following solution works:

I set my user-agent to:
VerseOfTheDaySitemapRobot/1.0 (

By doing:
ini_set('user_agent', "VerseOfTheDaySitemapRobot/1.0 

When ran by a cron job this causes AWSTATS to treat the hits as:
Unknown robot (identified by 'robot')    9704+18    284.82 MB    30 Nov 2010 - 

The part which tricked me is that if I run the site map generator PHP script 
using a user interface the hits on the site are credited to the Firefox (the 
browser I use) user-agent string.  The following article discusses how to 
change browser user agents: 


The Verse of the Day
“Encouragement from God’s Word”

Reply via email to