This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



Defender by Played lets you block visitors based on their country of origin.

The plugin contacts the free service at and sends the visitors IP adress to that service to geolocate that IP adress so that the visitors country can be pinpointed and compared to a list of blacklisted countries.

Visitors entering your site from a blacklisted country can then be redirected to either the WordPress 404 page, a custom page that you set up yourself, or it can simply just return a 403 Forbidden header.


  1. Unpack the .zip file and upload the defender folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins’ menu in WordPress
  3. Under Plugins in the admin menu click the Defender tab.
  4. Select countries to blacklist and a redirect option.
  5. Be careful with the block login page option, as blocking the login page from users coming from certain countries could lock you out if your own country is blacklisted.


7 lutego 2017
Fatal error: Cannot use object of type WP_Error as array in /home/user/site.ext/ wp-content/plugins/defender-by-played/defender.php on line 75
Przeczytaj 1 recenzje

Kontrybutorzy i deweloperzy

„Defender” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.


Przetłumacz wtyczkę “Defender” na swój język.

Interesuje cię rozwój wtyczki?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.