Let's face it everyone loves statistics. It is a good stats script available within most hosting control panels. It gives a number of useful easy to understand statistics about your visitors. And combine this with google's analytics and you have virtually every kind of statistic imaginable.

So what's the big deal about updating the stats?

Well this isn't a real big deal, but most hosts only update Awstats in specific time intervals such as every 4, 6, 8, 12, or 24 hours. So you have to wait for the next update if you even know when that happens to be.

Also when there are hundreds of other sites on a server sometimes an update misses or messes up. Days, even weeks could go by before your manually forces an update. This tends to happen when there are too many sites on one server and the stats program can't keep up with it.

So if you are like me I like the ability to have a nice link in my Awstats that I can click to "Update Now". Simply click on that link and boom stats are update to the current time.

Some host will have this enabled by default, but many do not.

This is very simple to make the "Update Now" link available.

Simply use your hosts File Manager or any FTP client.

For cpanel based host you can navigate to:


Look for the line:

Change to:

1. login into cPanel
1a. Open File Manager
2. navigate to /home/username/tmp/awstats/
3. edit the .conf file (e.g. awstats.yourdomain.com.conf)
4. look for this line: AllowToUpdateStatsFromBrowser, set the value to 1 (AllowToUpdateStatsFromBrowser=1)
5. Save the .conf file. When you refresh your statistics page. you will get ‘update now’ link at the top of the page.

This applies for any subdomain as well.

For other hosting control panels your location may very, you simply need to find the config file and make the change. Overall it should be the same process, just a matter of finding the path/location.

Good Luck!!


Before Screen Shot:

Awstats Before



After Applying the Changes:

Awstats After


Written By
Tutorial by: Jeremy LeSarge (AKA Ray)


Sponsored Links