该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Plugin Name: Traffic Stats Widget Plugin

描述

TSW 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 Stats Widget offers language support and automatic log deletion.

屏幕截图

  • On the blog the widget looks like this
  • Admin Page

安装

  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 without // 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 TSW.

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

常见问题

Installation Instructions
  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 without // 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 TSW.

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

评价

2018年5月23日
Hasn't been updated in three years; no-longer works on my site.
2016年9月3日
Would like to remove the Text Online Now: count feature. It is not needed on my site. Without having to update Version 1.0.2, is there a way to modify the php to remove that feature?
2016年9月3日
Thanks for the plugin. But need to add/update some options. Please, support visitor status & IP to WP Dashboard.
阅读所有8条评价

贡献者及开发者

“Plugin Name: Traffic Stats Widget Plugin” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

  • 1.0
    Initial Release
  • 1.0.1
    minor bug fixed