AwStats Hack
Getting up to date stats for your blog can be a bit of a pain.
Most stats packages only update once every 24 hours.
Performacing Metrics is great in that it updates every hour which means bloggers can analyse their stats almost in real time in order to take advantage of any surges in blog traffic. That’s especially handy for bloggers because some of our traffic surges only last for a few hours and a 24 hour stats update sequence doesn’t cut the mustard.
But for users of AWStats there is actually a simple little hack that you can use to get your stats updated when you want.
Firstly make sure you have AWStats!
Then you need to log into your site (I use an FTP program, but you can navigate to the correct file from within your CPanel using the tools there).
Go to tmp>awstats>awstats.yourURL.com.config
This is a config file that you can edit using a standard text editor like Notpad (just right click on it and open it using Notepad or your FTP program).
Go to line 155 where you will find something that says “AllowToUpdateStatsFromBrowser=0″
Cange that to “AllowToUpdateStatsFromBrowser=1″
Note: Don’t use the “”
Save the file to the server.
Now when you log into your AWStats you will see an option at the top of the page which allows you to update your stats!
Real time AWStats! Woot!
Now for some reason, this isn’t very stable and occassionally keeps resetting to 24 hours but it only takes 20 seconds to fix again, and then you have up-to-date stats.
A nice thing to have for us bloggers!
Leave a Reply