描述
我安装的statpress插件,虽然设置了不记录蜘蛛访问记录,但有些不表明身份的蜘蛛的访问数据仍然会保存,严重占用数据库空间。
登陆后台phpmyadmin太麻烦了,刚刚粗略的学习了下插件制作,写了个简单的插件,执行清理作业。
DEMO:Leniy
Donate link
螢幕截圖
安裝
- Copy Clear-StatPress.zip to your WordPress plugins directory, usually
wp-content/plugins/
and unzip the file. It will create awp-content/plugins/Clear-StatPress/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Follow the Clear-StatPress page under options.
- Then, just follow the Clear-StatPress page under options.
常見問題
評價
2016年9月3日
Statpress has created enormous size in databases on my server and my site was kept suspended all the time by provider. This plugin has solved my problem within minutes and now everything works fine! Thank you!