Linux 软件免费装
Banner图

Invalid Traffic Blocker

开发者 maocular
更新时间 2026年10月26日 17:14
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

adsense ip blocker vpn invalid traffic

下载

1.2 1.3 1.5.0

详情介绍:

Invalid Traffic Blocker is a WordPress plugin that uses the IPHub.info API to detect and block unwanted traffic such as bots, VPNs, and suspicious IP addresses. This helps AdSense publishers and website owners ensure that only valid traffic is served. This is not an official plugin for IPHub.info. This plugin is complete and free to use, with no locked features. If you also run sites that aren't built on WordPress, IVTB is the enterprise version of Invalid Traffic Blocker for other platforms.

安装:

  1. Upload the plugin files to the /wp-content/plugins/invalid-traffic-blocker directory or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Navigate to Settings > Invalid Traffic Blocker in your WordPress admin dashboard.
  4. Enter your IPHub API key, choose your desired blocking mode, and add any trusted IP addresses to the whitelist.
  5. Save your settings and use the "Test API Connectivity" and "Whitelist My IP" buttons as needed.

屏幕截图:

  • Protection rules: turn protection on and choose Safe, Strict or Custom blocking mode.
  • Trusted visitors and crawlers: whitelist IP addresses, let verified search engine crawlers through, and add your own crawler patterns.
  • Network and performance: choose where the visitor IP is read from, see the IP the plugin detects, and set how long results are cached.
  • The page a visitor sees when their IP address is blocked.

升级注意事项:

1.5.0 Security update and redesigned settings page. Stops visitors faking their IP or a crawler User-Agent to get past the blocker, and switches API calls to HTTPS. If your site is behind a proxy or CDN other than Cloudflare, check the Visitor IP Source setting after updating. 1.4 Security update: stops visitors faking their IP or a crawler User-Agent to get past the blocker, and switches API calls to HTTPS. If your site is behind a proxy or CDN other than Cloudflare, check the new Visitor IP Source setting after updating. 1.3 This update adds an option to allow known search engine crawlers and custom User-Agent patterns to bypass the IP check, and ensures full sanitization of the User-Agent header to meet WordPress security requirements. 1.2 This update includes improved API testing with admin IP detection, styled response messages, and an automatic whitelist option.

常见问题:

What is Invalid Traffic Blocker?

Invalid Traffic Blocker is a WordPress plugin that uses the IPHub.info API to detect and block unwanted traffic, including bots, VPNs, and suspicious IP addresses. It helps ensure that only valid traffic reaches your website.

How do I configure the plugin?

After activating the plugin, go to Settings > Invalid Traffic Blocker. Here you can enter your API key, select a blocking mode, and manage your IP whitelist.

What if my API key is missing or invalid?

If the API key is missing or incorrect, the plugin will not perform any blocking. Make sure to obtain a valid API key from IPHub.info.

Can I update the whitelist later?

Yes, you can update the list of whitelisted IP addresses at any time from the settings page.

How do I whitelist my IP?

Click the "Whitelist My IP" button on the settings page to add your current IP address to the whitelist, then click "Save Changes".

My site is behind Cloudflare, a CDN or a proxy. Which Visitor IP Source should I use?

Leave it on "Automatic" if you use Cloudflare, or a proxy on your own server or private network. If requests reach your site through another CDN, firewall or load balancer that adds an X-Forwarded-For header, choose "Reverse proxy or load balancer". The settings page shows which IP the plugin sees for your own request, so you can check that it matches your real IP.

Can a bot get past the blocker by pretending to be Googlebot?

No. With "Allow Known Crawlers" enabled, Googlebot, Bingbot, Yahoo Slurp, Baiduspider and YandexBot are confirmed with a reverse DNS lookup. A visitor who only fakes the User-Agent is checked like everyone else. Patterns you add under "Additional Crawler Patterns" are not verified, so only add crawlers you need.

更新日志:

1.5.0 1.4 1.3 1.2 1.1 1.0