這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

螢幕截圖

安裝

  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