Ready to get started?Download WordPress

Plugin Reviews

Traffic Stats Widget

TSW lets your users know how much traffic you have on your blog. It counts pages visited, hits and unique IPs on your blog and shows it in a widget. I

1 review
Average Rating
5 stars
5 out of 5 stars
5 stars
By Plugin Author,

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:

$_SESSION['wtcrobot'] = 1;
echo file_get_contents('robots.txt');

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...

1. 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 TSW.

You must log in to submit a review. You can also log in or register using the form near the top of this page.