Title: SF GeoGuard
Author: sf-geoguard
Published: <strong>05. siječnja 2026.</strong>
Last modified: 05. siječnja 2026.

---

Pretraga dodataka

![](https://ps.w.org/sf-geoguard/assets/banner-772x250.png?rev=3433622)

![](https://ps.w.org/sf-geoguard/assets/icon-256x256.png?rev=3433622)

# SF GeoGuard

 Od [sf-geoguard](https://profiles.wordpress.org/olehsf/)

[Preuzmi](https://downloads.wordpress.org/plugin/sf-geoguard.1.0.0.zip)

 * [Detalji](https://hr.wordpress.org/plugins/sf-geoguard/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/sf-geoguard/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/sf-geoguard/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/sf-geoguard/#developers)

 [Podrška](https://wordpress.org/support/plugin/sf-geoguard/)

## Opis

SF GeoGuard is a lightweight country-based access control plugin for WordPress.

It allows you to restrict website access by visitor country using simple ISO country
codes (US, CA, GB, etc.), helping reduce unwanted traffic, bot activity, and unnecessary
server load.

Main features:
 * Allow access only from selected countries * Whitelist IP addresses*
Cache IP  country lookups for better performance * Customize the block message (
HTML supported) * Choose what happens if the geo service is unavailable (allow or
block) * Support for sites behind reverse proxies (Cloudflare, Nginx)

SF GeoGuard focuses on doing one thing well: restricting access by country.
 It 
does not modify WordPress core files and does not load unnecessary scripts on the
frontend.

By default, geo checks are applied only to frontend requests. You can optionally

enable restrictions for wp-admin and wp-login.php in the plugin settings.

### External Services

This plugin connects to a third-party IP geolocation service to determine
 the visitor’s
country based on their IP address.

Service used:
 IP-API (https://ip-api.com/)

Purpose:
 The service is used to detect the visitor’s country in order to apply 
country-based access rules configured in the plugin settings.

Data sent:
 – Visitor IP address

When data is sent:
 – On frontend page load when geo-based access control is enabled–
Only if the visitor IP address cannot be resolved from the local cache

Note:
 The free IP-API endpoint does not support HTTPS. The plugin uses the HTTP
endpoint provided by IP-API unless a paid HTTPS plan is used.

Privacy & Terms:
 – Privacy Policy: https://ip-api.com/docs/legal – Terms of Service:
https://ip-api.com/docs/legal

No personally identifiable information other than the IP address
 is stored, logged,
or shared by the plugin.

## Instalacija

 1. Upload the plugin folder to `/wp-content/plugins/` or install it via the Plugins
    menu.
 2. Activate **SF GeoGuard**.
 3. Go to **Settings  SF GeoGuard**.
 4. Enable protection and set the allowed countries.

## Pitanja i odgovori

### Will this work with Cloudflare or other proxies?

Yes. If your site is behind a reverse proxy (Cloudflare, Nginx, etc.), configure
**
Trusted Proxies** so the plugin can safely trust forwarded IP headers.

### Can I lock myself out of wp-admin?

If you enable **Apply to wp-admin and login**, make sure your own country
 is allowed
or your IP address is whitelisted to avoid being locked out.

### What happens if the geo service is unavailable?

You can choose what to do if the geo service fails: allow access (recommended)
 
or block access.

## Recenzije

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

### 󠀁[Lightweight and effective geo blocking plugin](https://wordpress.org/support/topic/lightweight-and-effective-geo-blocking-plugin/)󠁿

 [gamakidlanog](https://profiles.wordpress.org/gamakidlanog/) 06. siječnja 2026.

I was looking for a simple and lightweight way to block traffic from specific countries
without installing a heavy security suite. SF GeoGuard does exactly what it promises:
Easy country-based blocking Clean and understandable settings Works well behind 
proxies and Cloudflare No unnecessary features or bloat The plugin is fast, straightforward,
and focuses on one task instead of trying to be an “all-in-one” security solution.
Setup took only a few minutes, and it worked as expected right away. Great option
if you want simple geo access control without performance overhead.

 [ Pročitajte 1 recenziju ](https://wordpress.org/support/plugin/sf-geoguard/reviews/)

## Suradnici i Programeri

“SF GeoGuard” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

 *   [ sf-geoguard ](https://profiles.wordpress.org/olehsf/)

[Prevedite “SF GeoGuard” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/sf-geoguard)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/sf-geoguard/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/sf-geoguard/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/sf-geoguard/) od [RSS](https://plugins.trac.wordpress.org/log/sf-geoguard/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.0.0

Initial release.

## Meta

 *  Version **1.0.0**
 *  Zadnje ažuriranje **prije 10 mjeseci**
 *  Aktivnih instalacija **50+**
 *  WordPress inačica ** 6.0 ili viša **
 *  Testirano do **6.9.11**
 *  PHP inačica ** 8.0 ili viša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/sf-geoguard/)
 * Oznaka
 * [access-control](https://hr.wordpress.org/plugins/tags/access-control/)[country block](https://hr.wordpress.org/plugins/tags/country-block/)
   [geo block](https://hr.wordpress.org/plugins/tags/geo-block/)[geo restriction](https://hr.wordpress.org/plugins/tags/geo-restriction/)
   [ip whitelist](https://hr.wordpress.org/plugins/tags/ip-whitelist/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/sf-geoguard/advanced/)

## Ocjena

 5 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/sf-geoguard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sf-geoguard/reviews/)

## Suradnici

 *   [ sf-geoguard ](https://profiles.wordpress.org/olehsf/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/sf-geoguard/)