Skip to content
Live demo Every plugin below runs on this WordPress. The site resets in —. User demo Password FolderPressDemo1 Open the admin
Alpha Plugins

GeoGate

Country-aware WordPress with an offline database: content by region, geo redirects, country and network blocking, VPN/Tor detection, consent banner by law.

Active on this demo v1.0.0 Security & sign-in
Live on this siteread from GeoGate's own tables
430visits matched to a country
4countries seen

Where is the visitor?

  • Country, region, city and continent from a local MaxMind-format database: one-click install of the free DB-IP Lite files, or point to your own GeoLite2 file. SiteStats' database is reused when present
  • Network name and ASN from an ASN database; Tor exits from the official list; VPN and data-centre classification from the network name, with an optional proxycheck.io lookup
  • Cloudflare's country header is honoured; proxy headers are trusted only behind a private peer
  • Lookups are cached per IP and never leave the server. Visitors are not stored: statistics are one counter per day, country and page; the activity log keeps a masked IP

Content by region

  • Shortcodes [geogate show="DE, AT"]…[/geogate], [geogate hide="EU" else="…"], [geogate vpn="yes"], [geogate_info field="country"]
  • A "GeoGate region" block that wraps any blocks and shows or hides them server-side
  • Body classes (gg-cc-de, gg-continent-eu, gg-eu, gg-vpn), <html data-gg-cc>, a geogate JavaScript object with is("EU, GB") and a geogate:ready event
  • REST geogate/v1/me for headless front-ends; PHP helpers geogate_visitor(), geogate_is()

Rules

  • One list expression everywhere: country codes, EU, continents (AFR ASI EUR NAM SAM OCE), GDPR / CCPA / LGPD regimes, states (US-CA), networks (AS12345), VPN / TOR / HOSTING, * for everyone
  • Block or allow per scope: the whole site, wp-admin and login, checkout and cart (WooCommerce, CodeSell, /checkout paths), comments
  • Blocked network list by ASN, allow-listed IPs and CIDR ranges, a signed bypass link for partners, a custom block page with a 451 / 403 / 404 / 503 status
  • Administrators are never locked out; a country preview (?gg_as=DE) lets you test as any visitor

Redirects

  • By visitor country and/or browser language, with {cc}, {lang} and {path} placeholders, 301 or 302, excluded paths, first-visit-only, an opt-out parameter, ordered first-match

Targeting

  • HTML snippets at the top, in the footer or after the content; popups (once per browser); body classes; a different menu per region, for visitors from a region, on a VPN, or on mobile

VPN, proxy, Tor and data-centre traffic

  • Flag (body class + X-GeoGate-Network header + rule token), challenge (one click, passes for a day) or block, per scope

Commerce

  • WooCommerce currency and prices by region: multiply by a factor or keep the number, optional .99 rounding, currency exposed to JavaScript for any other shop

Consent

  • A banner shown only where required (GDPR regions, US privacy-law states, Brazil) or everywhere; accept / reject / choose categories; a "do not sell or share" notice for US states; your colours, words and position
  • Gate scripts with <script type="text/plain" data-gg-consent="analytics">; geogate_consent_allowed() in PHP, geogate.consent in JavaScript, a reopen link

See it

  • Overview with a world map, top countries, continents, pages by region, recent decisions; an activity log; a lookup tester that shows every scope's verdict; Site Health check
Works with

What it does with the others

Same family

More in Security & sign-in

AlphaLogin

Security & sign-in
Live

Passkeys, two-factor codes, magic links and SSO through your Alpha accounts portal, with brute-force protection, session control, login designer and audit log.

223 successful sign-ins logged here

from $19 Try it Details

SecureShield

Security & sign-in
Live

One-score security suite: login lockouts that never lock you out, a firewall, integrity and malware scans, hardening, 2FA, activity log and vulnerability watch.

210 attacks stopped here

from $19 Try it Details