這個外掛並未在最新的 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.

螢幕擷圖

  • 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