Title: Invalid Traffic Blocker
Author: Michael Akinwumi
Published: <strong>16.04.2025</strong>
Last modified: 31.05.2025

---

Търсене на разширения

![](https://ps.w.org/invalid-traffic-blocker/assets/banner-772x250.png?rev=3274049)

![](https://ps.w.org/invalid-traffic-blocker/assets/icon-256x256.png?rev=3274049)

# Invalid Traffic Blocker

 От [Michael Akinwumi](https://profiles.wordpress.org/maocular/)

[Изтегляне](https://downloads.wordpress.org/plugin/invalid-traffic-blocker.1.3.zip)

 * [Детайли](https://bg.wordpress.org/plugins/invalid-traffic-blocker/#description)
 * [Оценки](https://bg.wordpress.org/plugins/invalid-traffic-blocker/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/invalid-traffic-blocker/#installation)
 * [Разработка](https://bg.wordpress.org/plugins/invalid-traffic-blocker/#developers)

 [Поддръжка](https://wordpress.org/support/plugin/invalid-traffic-blocker/)

## Описание

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.

### External Services

This plugin connects to the IPHub.info API to validate IP addresses and determine
whether they are suspicious, likely belonging to bots, VPNs, or invalid traffic.

Data transmitted: • The visitor’s IP address is sent to IPHub.info each time a check
is performed. 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

## Снимки на разширението

[⌊Admin settings page with API key, blocking mode options, and whitelist functionality.⌉⌊
Admin settings page with API key, blocking mode options, and whitelist functionality
.⌉[

Admin settings page with API key, blocking mode options, and whitelist functionality.

[⌊API connectivity test output showing a green info box on success.⌉⌊API connectivity
test output showing a green info box on success.⌉[

API connectivity test output showing a green info box on success.

## Инсталиране

 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.

## ЧЗВ

### 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](https://iphub.info/register).

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

## Отзиви

![](https://secure.gravatar.com/avatar/cd82424a98488b7571da454b6006896d1df96042997073f5875a5c215d0589f3?
s=60&d=retro&r=g)

### 󠀁[Best option to block bad IP](https://wordpress.org/support/topic/best-option-to-block-bad-ip/)󠁿

 [mrcode98](https://profiles.wordpress.org/mrcode98/) 26.05.2025

i like this plugin is so easy to use and block all bad IPs

 [ Прочетете 1 отзив ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/)

## Сътрудници и разработчици

“Invalid Traffic Blocker” е софтуер с отворен код. Към разширението са допринесли
следните хора:

Сътрудници

 *   [ Michael Akinwumi ](https://profiles.wordpress.org/maocular/)

[Превеждане на “Invalid Traffic Blocker” на вашия език.](https://translate.wordpress.org/projects/wp-plugins/invalid-traffic-blocker)

### Имате интерес към разработване?

[Преглеждане на кода](https://plugins.trac.wordpress.org/browser/invalid-traffic-blocker/),
разглеждане на [SVN хранилище](https://plugins.svn.wordpress.org/invalid-traffic-blocker/),
или абонамент към [програмната история (log)](https://plugins.trac.wordpress.org/log/invalid-traffic-blocker/)
чрез [RSS](https://plugins.trac.wordpress.org/log/invalid-traffic-blocker/?limit=100&mode=stop_on_copy&format=rss).

## Списък с промени

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

## Мета

 *  Version **1.3**
 *  Last updated **Преди 1 година **
 *  Active installations **40+**
 *  WordPress version ** 4.5 или по-висока **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.2 или по-висока **
 *  Language
 * [English (US)](https://wordpress.org/plugins/invalid-traffic-blocker/)
 * Tags
 * [adsense](https://bg.wordpress.org/plugins/tags/adsense/)[blocker](https://bg.wordpress.org/plugins/tags/blocker/)
   [invalid traffic](https://bg.wordpress.org/plugins/tags/invalid-traffic/)[ip](https://bg.wordpress.org/plugins/tags/ip/)
   [vpn](https://bg.wordpress.org/plugins/tags/vpn/)
 *  [Разширен изглед](https://bg.wordpress.org/plugins/invalid-traffic-blocker/advanced/)

## Оценки

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/invalid-traffic-blocker/reviews/)

## Сътрудници

 *   [ Michael Akinwumi ](https://profiles.wordpress.org/maocular/)

## Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

 [Разглеждане на форумите за поддръжка](https://wordpress.org/support/plugin/invalid-traffic-blocker/)