🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Invalid Traffic Blocker icon
Actively maintained Tested with WP 7.1 #54 in adsense

Invalid Traffic Blocker

Protect your site from invalid traffic by blocking suspicious IPs using the IPHub.info API.

Active installs40+10+ tier
Downloads · 30d208▲ +3.5% vs prev. 30d
Rating5/51 reviews
Health score70/100Good
All-time downloads1.5KSince Apr 2025
Support resolved—No recent threads
RequiresWP 4.5PHP 7.2+
Downloads · 7d60▲ +71.4% week over week
Our verdict

Solid choice

Invalid Traffic Blocker is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 1 month ago, and scores 70/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (40+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

132740Sep 4Oct 18Dec 2
Yesterday16
Daily average (1y)3
Peak day54Oct 26, 2026
Last 12 months1.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Invalid Traffic Blocker stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
adsense #80 468 Best adsense plugins →
blocker #19 837 Best blocker plugins →
invalid traffic #4 628 Best invalid traffic plugins →
ip >100 9,329 Best ip plugins →
vpn #15 206 Best vpn plugins →

Version adoption

Share of active sites per release.

  • 1.555.8%
  • 1.344.2%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Invalid Traffic Blocker

From the official readme · v1.5.0

Description

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.

External Services

This plugin connects to the IPHub.info API (https://v2.api.iphub.info) to validate IP addresses and determine whether they are suspicious, likely belonging to bots, VPNs, or invalid traffic. All requests use HTTPS.
Data transmitted:
• The visitor’s IP address, each time a visitor is checked and no cached result exists.
• The admin’s own IP address, when the “Test API Connectivity” button is clicked on the settings page.
• Your IPHub API key, in a request header with each lookup.
Purpose:
• To determine the nature of the IP (e.g., non‑residential, residential suspicious) and decide whether to block access.
Terms and Privacy:
• IPHub.info Terms of Service: https://iphub.info/legal/tos
• IPHub.info Privacy Policy: https://iphub.info/legal/privacy

When “Allow Known Crawlers” is enabled, a visitor whose User-Agent claims to be a known search engine crawler is verified with a reverse and forward DNS lookup through your server’s own DNS resolver. Nothing is sent to IPHub.info or any other service for this check.

Installation

  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.

Changelog

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.5.0

  • Refreshed the settings page with responsive sections, saved configuration status, a masked API key, inline whitelist feedback, and API test loading/error states. Assets are local and load only on the plugin settings page.
  • Added clear IPHub data-sharing guidance beside setup. Existing option names and visitor blocking behavior are preserved.

1.4

  • Security: The visitor IP is now read from the direct connection. Proxy headers (X-Forwarded-For, CF-Connecting-IP) are only trusted when the request comes from Cloudflare or a private network address, or when you choose them in the new “Visitor IP Source” setting. Previously any visitor could fake their IP to skip the check or use up your API quota.
  • Security: “Allow Known Crawlers” now confirms crawlers with a reverse DNS lookup, so a faked crawler User-Agent no longer skips the check. DuckDuckBot was removed from the built-in list because it can’t be verified this way; add it under “Additional Crawler Patterns” if you need it.
  • Security: IPHub API requests now use HTTPS, so your API key and visitor IPs are no longer sent in plain text.
  • Fix: The first save of the settings could reset them to Safe Mode, turn on “Allow Known Crawlers” and show a “Please select only one blocking mode” error.
  • Fix: “Allow Known Crawlers” never matched on hosts that run PHP as CGI/FastCGI.
  • Fix: WP-Cron, WP-CLI and the login page are no longer checked, so scheduled tasks keep running and admins on a VPN can still sign in.
  • Fix: When the IPHub API fails or rate-limits requests, lookups pause for 5 minutes instead of slowing down every page view.
  • Change: “Additional Crawler Patterns” are now plain-text, case-insensitive matches instead of regular expressions. Patterns containing “/” used to cause PHP warnings on every page. Remove regex symbols such as ^ or $ from existing entries.
  • Change: The blocking mode is now a single choice with Safe Mode as the default. Sites that had the plugin enabled with no mode ticked now block in Safe Mode. Custom Mode with no block types ticked no longer makes API calls.
  • The settings page shows which IP the plugin sees for your request, and warns when proxy headers are being ignored.
  • Added a link to IVTB, the enterprise version for non-WordPress sites, on the settings page and the Plugins screen.
  • Tested up to WordPress 7.1.

1.3

  • Added “Allow Known Crawlers” setting to automatically bypass IP checks for common search engine bots (Googlebot, Bingbot, Slurp, DuckDuckBot, Baiduspider, YandexBot).
  • Introduced “Additional Crawler Patterns” textarea so admins can specify extra User-Agent regexes to whitelist.
  • Updated invatrbl_check_visitor_ip() to use filter_input() and sanitize_text_field() when reading $_SERVER['HTTP_USER_AGENT'] to comply with WP security standards.
  • Ensured User-Agent checks are fully sanitized to eliminate any InputNotSanitized warnings during plugin review.
  • Streamlined front-end blocking logic so known crawlers (built-in or custom) are skipped before performing IPHub API lookups.
  • Minor code refactoring and cleanup to align with WordPress Plugin Coding Standards.

1.2

  • Use admin’s current IP for API testing instead of a default.
  • Fancy info boxes for API test responses (green for success, red for errors).
  • “Whitelist My IP” button to add the admin’s current IP to the whitelist automatically.

1.1

  • added whitelist functionality and basic API connectivity testing.
  • introduced multiple blocking modes.

1.0

  • Initial release with core functionality:
    • Integration with IPHub.info API.
    • Multiple blocking modes: Safe, Strict, and Custom.
    • Persistent warning message for blocked users.
    • Basic security measures and caching implementation.

Full changelog on WordPress.org →

Screenshots

Connect IPHub: add your API key (hidden by default), see whether protection is active, and test the saved connection.
Connect IPHub: add your API key (hidden by default), see whether protection is active…
Protection rules: turn protection on and choose Safe, Strict or Custom blocking mode.
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.
Trusted visitors and crawlers: whitelist IP addresses, let verified search engine…
Network and performance: choose where the visitor IP is read from, see the IP the plugin detects, and set how long results are cached.
Network and performance: choose where the visitor IP is read from, see the IP the plugin…
The page a visitor sees when their IP address is blocked.
The page a visitor sees when their IP address is blocked.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Invalid Traffic Blocker alternatives

All adsense plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Site Kit by Google – Analytics, Search Console, AdSense, Speed Site Kit by Google Site Kit is a one-stop solution for WordPress users to use everything Google has to offer… by Google 5M+ ★★★★★★★★★★ 4.2 (1K) 3 days ago 92
2 Ad Inserter – Ad Manager & AdSense Ads Ad Inserter – Ad Manager & AdSense Ads Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt… by Spacetime 200K+ ★★★★★★★★★★ 4.9 (2.4K) 3 days ago 96
3 Advanced Ads – Ad Manager & AdSense Advanced Ads – Ad Manager & AdSense Manage and place all kinds of ads: AdSense, Amazon, affiliate networks or your own banners… by monetizemore 90K+ ★★★★★★★★★★ 4.9 (1.5K) 1 week ago 89
4 AdRotate Banner Manager AdRotate Banner Manager Easily manage, and schedule ads on your WordPress site with AdRotate. Support for Google… by Arnan de Gans 20K+ ★★★★★★★★★★ 4.3 (655) 3 weeks ago 91
5 Quads Ads Manager for Google AdSense Quads Ads Manager for Google AdSense Ads & AdSense plugin supporting Media.net, DFP, ads.txt, Web Stories ads, click fraud… by Ads by WPQuads 20K+ ★★★★★★★★★★ 4.9 (1.1K) 3 weeks ago 94
6 Quick Adsense – Ad Manager & AdSense Ads Quick Adsense – Ad Manager & AdSense Ads Free, lightweight ad manager: place AdSense or any ad code in posts, widgets, header &… by Namith Jawahar 20K+ ★★★★★★★★★★ 3.9 (74) 1 week ago 85
7 Ad Invalid Click Protector (AICP) Ad Invalid Click Protector (AICP) One plugin to save your AdSense account from Click Bombings and Invalid Click Activities by iSaumya 10K+ ★★★★★★★★★★ 4.7 (62) 5 months ago 74
8 Wp-Insert Wp-Insert Simple Ad-Management for WordPress. by Broadstreet 9K+ ★★★★★★★★★★ 4.5 (142) 1 month ago 72
9 In-feed ads for Google AdSense In-feed ads for Google AdSense Display Google AdSense In-feed ads between posts. by monetizemore 6K+ ★★★★★★★★★★ 5 (1) 7 months ago 51
10 Easy Google AdSense Easy Google AdSense Easily add Google AdSense ad code to your WordPress site. Automatically show Google ads… by Noor Alam 5K+ ★★★★★★★★★★ 4.3 (7) 3 months ago 60

FAQ

Invalid Traffic Blocker: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Invalid Traffic Blocker free?

Yes. Invalid Traffic Blocker is free to download and use from the official WordPress.org plugin directory.

Is Invalid Traffic Blocker safe to use in 2026?

Invalid Traffic Blocker is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 1 month ago, and scores 70/100 on our health check.

How many websites use Invalid Traffic Blocker?

Invalid Traffic Blocker is active on 40+ WordPress websites and has been downloaded 1,540 times since it launched in April 2025. It was downloaded 208 times in the last 30 days.

Does Invalid Traffic Blocker work with WordPress 7.1?

Yes. The developer has tested Invalid Traffic Blocker up to WordPress 7.1.5, the latest release. It requires WordPress 4.5 or newer.

What PHP version does Invalid Traffic Blocker need?

Invalid Traffic Blocker requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Invalid Traffic Blocker last updated?

The latest version, 1.5.0, was released on October 26, 2026 (1 month ago).

Who makes Invalid Traffic Blocker?

Invalid Traffic Blocker is developed and maintained by Michael Akinwumi.

What are the best alternatives to Invalid Traffic Blocker?

The most popular alternatives to Invalid Traffic Blocker are Site Kit by Google (5M+ installs), Ad Inserter (200K+ installs) and Advanced Ads (90K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open