Leírás
GeoShield Access Manager allows you to easily block visitors from specific countries.
You can add or remove multiple countries from the WordPress backend.
If a visitor belongs to a blocked country, the plugin displays a dynamic block page saying:
„Your country (XX) is blocked from viewing this website.”
This plugin works with a lightweight IP lookup API and includes:
- Admin settings menu: Blocked Countries
- Add unlimited country codes (ISO format)
- Remove countries dynamically
- Frontend blocking of selected countries
- Custom block message page (auto-generated)
- No theme files required
- No coding skills needed
Perfect for website owners who want to control traffic based on location.
Features
- Block users by country
- Easy backend interface for adding/removing countries
- Uses free IP geolocation service (ip-api.com)
- Automatically generates a block page with a friendly message
- Does not affect admin dashboard access
- Simple, clean, and lightweight (Hello Dolly style)
External Services
This plugin uses a third-party IP geolocation service to detect the visitor’s country
in order to apply country-based access restrictions.
Service used:
ip-api.com (https://ip-api.com)
What data is sent:
The visitor’s IP address is sent to the service when a page is loaded.
When data is sent:
Only when country-based access rules are enabled.
Why data is sent:
To determine the visitor’s country for access control purposes.
Service terms and privacy policy:
https://ip-api.com/docs/legal
Telepítés
- Upload the plugin folder
geo-country-access-managerto/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Go to Blocked Countries in the admin menu
- Add the ISO country codes you want to block (e.g., IN, PK, CN)
- Save changes — done!
GYIK
-
1. How do I block a country?
-
Go to Blocked Countries Add the ISO code Save.
-
2. Does this plugin slow down my website?
-
No — it uses a lightweight API and runs efficiently during page load.
-
3. Can I customize the block page?
-
Yes! The block page is generated dynamically. You can modify the template inside the plugin.
-
4. Does this plugin block admin area access?
-
No. Only frontend visitors are blocked.
-
5. Do I need an API key?
-
No — ip-api.com works without a key.
Vélemények
Nincsenek értékelések erről a bővítményről.
Közreműködők és fejlesztők
“MID GeoShield Access Manager” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:
Közreműködők“MID GeoShield Access Manager” fordítása a saját nyelvünkre.
Érdekeltek vagyunk a fejlesztésben?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Változási napló
1.0
- Initial release
- Admin settings page added
- Country list fields added
- Frontend block system implemented
- Dynamic block page added