This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Plugin Name: Traffic Counter Widget Plugin


TCW shows the number of visitors / hits / unique IPs in the past 24 hours, 7 days and 30 days. It also shows the number of users currently online.

It provides a robots filter, but the automatic traffic could also be considered.

Traffic Counter Widget offers language support and automatic log deletion.

For help or reporting bugs please refer to:


  • You may use the code any way you wish, with respect to the WordPress general licensing rules. However I do not guaratee anythig, of course 🙂
  • Please do not remove the link to the plugin’s page unless you donate. Help me keep it free.
  • If you enjoy it, and find it useful please donete 2 Euro here:


  • On the blog the widget looks like this:
  • On admin you can translate the text on the widget in your language. This example shows romanian.
  • Widget after translating the labels


  1. Upload the zip to ‘plugins’ directory
  2. Unzip (steps 1 and 2 cand also be performed automatically)
  3. Activate the plugin
  4. Configure and place the widget on your sidebar

If you need your traffic stats to be more accurate, you should use the Automatic Traffic Filter on the Widget. However, the internet is full of spiders, crawlers and all kind of robots not authenticating themselves as machines. Furthermore, it is very difficult to verify the signature of each and every robot visiting your blog… But there is a pretty good solution to this. I cannot access the root directory of your blog through WordPress install API, so you will have to do the following things by yourself:

  1. Create a robots.php file on the root directory of your blog: ie public_html/your-blog/
    Paste the following code in it:
  1. Open .htaccess file in the same directory and paste this in it:

RewriteRule robots.txt robots.php

  1. Make sure you have the ‘RewriteEngine On’ clause in place…

  2. Make sure you have a robots.txt file, even an empty one, on the root directory

Done! Most of the robots will be filtered out by TCW.

Traffic Counter Widget does not have a settings section on Admin page. However, you can set the fields descriptions on the widget

For help or reporting bugs please refer to:

Contributors & Developers

“Plugin Name: Traffic Counter Widget Plugin” is open source software. The following people have contributed to this plugin.



* some bug fixing

* making plugin compliant to WP licensing rules

*Show hits / unique IPs
*Some more widget options

*bug fixing

*Configurable robots filter
*Automated log deletion

*Monthly visitors bug fix

*Integer number format on widget according to blog settings


*Plugin created