屏蔽Wordpress垃圾留言之WP-Ban插件
最近,闲吧站出现了大量垃圾浏览,每天一大早登陆Wordpress后台都有好几十条。所以必须要解决,闲吧选择的是WP-Ban插件,这两条使用起来感觉还不错,就推荐给大家吧。不过还是感叹下,闲吧选择Wordpress后,至今为止已经安装了20几个插件了,呜呜......
WP-Ban插件功能很是强大,可以屏蔽指定IP、Ip段、主机名、user agent及referer url。被屏蔽的ip访问网站后会有提示。WP-Ban插件官方描述如下:
Ban users by IP, IP Range, host name, user agent and referer url from visiting your WordPress's blog. It will display a custom ban message when the banned IP, IP range, host name, user agent or referer url tries to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on how many times they attemp to visit your blog. It allows wildcard matching too.
闲吧站出现的垃圾留言如下图。
这里贴几个不同IP的信息如下,貌似是来自捷克的IP。
TabWrela
f0i.ru/
[email protected]
91.207.7.234TabWrela
000site.ru/go.php?sid=25
[email protected]
92.241.169.70TabWrela
000site.ru/go.php?sid=25
[email protected]
91.207.6.174TabWrela
000site.ru/go.php?sid=25
[email protected]
91.207.5.138
WP-Ban插件官方地址:
http://lesterchan.net/portfolio/programming/php/#wp-ban
深圳宝安花店
每次看到一串字符垃圾链接就很恼火。