PHPackages                             timersys/geo-blocker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. timersys/geo-blocker

ActiveWordpress-plugin[Security](/categories/security)

timersys/geo-blocker
====================

WordPress plugin to restrict access to the site by geolocation that works with GeotargetingWP API

1.2.1.1(7y ago)039GPL-2.0+PHP

Since Dec 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/timersys/geo-blocker)[ Packagist](https://packagist.org/packages/timersys/geo-blocker)[ Docs](https://geotargetingwp.com)[ RSS](/packages/timersys-geo-blocker/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)Dependencies (2)Versions (29)Used By (0)

```
=== Geo Blocker ===
Contributors: timersys
Donate link: https://timersys.com
Tags: geo blocker, geo block country, restrict by country
Tested up to: 5.1.1
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Restrict access to your website based on geo location. Block entire countries, cities or states

== Description ==

Restrict access to your website based on geo location. Block entire countries, cities or states:

* Restrict based on City, country, states
* Restrict on specific pages, templates, posts, etc
* Restrict users from search engines
* Restrict users that never commented
* Restrict users that arrived via another page on your site
* Restrict users via roles
* Restrict depending on referrer
* Restrict to logged / non logged users
* Restrict or not to mobile, desktop and tablet users
* Restrict or not to bots / crawlers like Google
* Restrict or not depending on query strings EG: utm_source=email
* Restrict depending on post type, post template, post name, post format, post status and post taxonomy
* Restrict depending on page template, if page is parent, page name, page type

== Installation ==

== Changelog ==
= 1.2 =
* Geo rules are not automatically moved to the bottom
* Automatically add missing protocols to urls
* Fixed issue with debug data page
* Filter to disable predefined regions
* better multisite compatibility
* improved targeting of cities for non english sites

= 1.1.1 =
* Core updates

= 1.1 =
* Added option to change template
* Fixed issue with page builders being blocked
* Added predefined continents regions
* Fixed api for plugin updates
* Fixed settings not saving unchecks

= 1.0.9.2 =
* Fixed uninstall
* Reorganized settings tabs

= 1.0.9.1 =
* Hotfix for bug introduced in 2.3.6.1 ( Important update! )
= 1.0.9 =
* Core updates

= 1.0.8 =
* Core updates

= 1.0.7 =
* Core updates
* Updated crawler detect library

= 1.0.6.3 =
* Fix issue with ACF latest version
* Clean up database of old wp_session records

= 1.0.6.2 =
* Core updates taht fix headers already sent and exclude functionality

= 1.0.6.1 =
* Fixed bug where geotargeting would fail on certain php versions
* admin assets cache bust

= 1.0.6 =
* Improved settings page and regions creation
* Added filters for devs
* Improved session handling

= 1.0.5 =
* Update rule to support multiple ID's
* Update sessions core library

= 1.0.4.2 =
* Fixed bug with locales and cache mode that could lead into fatal error

= 1.0.4.1 =
* Fixed bug introduced with locales update

= 1.0.4 =
* Fixed bug with wide url
* Core updates

= 1.0.3 =
* Added wide url /* rule support
* Improved query string rule
* Fixed issue with wprocket cache

= 1.0.2 =
* Core updates
* Issue with multiple blocks and AJAX mode

= 1.0.1 =
* Small bugfixes

= 1.0.0 =
* First version
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Total

22

Last Release

2580d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1206915?v=4)[Damian](/maintainers/timersys)[@timersys](https://github.com/timersys)

---

Top Contributors

[![timersys](https://avatars.githubusercontent.com/u/1206915?v=4)](https://github.com/timersys "timersys (18 commits)")[![gonzalesc](https://avatars.githubusercontent.com/u/2523478?v=4)](https://github.com/gonzalesc "gonzalesc (8 commits)")

---

Tags

pluginwordpressgeolocationgeo blockerrestrict by country

### Embed Badge

![Health badge](/badges/timersys-geo-blocker/health.svg)

```
[![Health](https://phpackages.com/badges/timersys-geo-blocker/health.svg)](https://phpackages.com/packages/timersys-geo-blocker)
```

###  Alternatives

[wp-privacy/wp-api-privacy

Strips potentially identifying information from outbound requests to the WordPress.org API

1632.4k](/packages/wp-privacy-wp-api-privacy)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[brain/nonces

OOP package for WordPress to deal with nonces.

25233.8k1](/packages/brain-nonces)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
