Title: Plugin Name: Traffic Counter Widget Plugin
Author: aviaxis
Published: <strong>2011 年 7 月 28 日</strong>
Last modified: 2012 年 12 月 15 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/traffic-counter-widget.svg)

# Plugin Name: Traffic Counter Widget Plugin

 作者：[aviaxis](https://profiles.wordpress.org/aviaxis/)

[下载](https://downloads.wordpress.org/plugin/traffic-counter-widget.zip)

 * [详情](https://cn.wordpress.org/plugins/traffic-counter-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/traffic-counter-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/traffic-counter-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/traffic-counter-widget/#developers)

 [支持](https://wordpress.org/support/plugin/traffic-counter-widget/)

## 描述

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: http://www.pixme.org/tehnologie-internet/
wordpress-traffic-counter-widget/4228

### Other

 * 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: http://www.pixme.
   org/wp-content/uploads/widget-traffic-counter/

## 屏幕截图

[⌊On the blog the widget looks like this:⌉⌊On the blog the widget looks like this
:⌉[

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.⌉⌊On admin you can translate the text on the widget in your language.
This example shows romanian.⌉[

On admin you can translate the text on the widget in your language. This example
shows romanian.

[⌊Widget after translating the labels⌉⌊Widget after translating the labels⌉[

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: http://www.pixme.org/tehnologie-internet/
wordpress-traffic-counter-widget/4228

## 常见问题

  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 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: http://www.pixme.org/tehnologie-internet/
wordpress-traffic-counter-widget/4228

## 评价

此插件暂无评价。

## 贡献者及开发者

「Plugin Name: Traffic Counter Widget Plugin」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ aviaxis ](https://profiles.wordpress.org/aviaxis/)

[帮助将「Plugin Name: Traffic Counter Widget Plugin」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/traffic-counter-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/traffic-counter-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/traffic-counter-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/traffic-counter-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/traffic-counter-widget/)。

## 更新日志

=2.0.2
 * some bug fixing

=2.0.1
 * making plugin compliant to WP licensing rules

=2.0.0
 *Show hits / unique IPs *Some more widget options

=1.1.2
 *bug fixing

=1.1.0
 *Configurable robots filter *Automated log deletion

=1.0.2
 *Monthly visitors bug fix

=1.0.1
 *Integer number format on widget according to blog settings

#### 1.0.0

*Plugin created

## 额外信息

 *  版本 **2.1.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **600+**
 *  WordPress 版本 ** 2.8.0 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/traffic-counter-widget/)
 * 标签
 * [traffic counter](https://cn.wordpress.org/plugins/tags/traffic-counter/)[Traffic Widget](https://cn.wordpress.org/plugins/tags/traffic-widget/)
   [user traffic](https://cn.wordpress.org/plugins/tags/user-traffic/)[visitors counter](https://cn.wordpress.org/plugins/tags/visitors-counter/)
 *  [高级视图](https://cn.wordpress.org/plugins/traffic-counter-widget/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/traffic-counter-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/traffic-counter-widget/reviews/)

## 贡献者

 *   [ aviaxis ](https://profiles.wordpress.org/aviaxis/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/traffic-counter-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.pixme.org/wp-content/uploads/widget-traffic-counter/)