Title: GeoTargeting Lite &#8211; WordPress Geolocation
Author: Damian
Published: <strong>9 de diciembre de 2014</strong>
Last modified: 15 de agosto de 2022

---

Buscar plugins

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

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

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

# GeoTargeting Lite – WordPress Geolocation

 Por [Damian](https://profiles.wordpress.org/timersys/)

[Descargar](https://downloads.wordpress.org/plugin/geotargeting.1.3.6.1.zip)

 * [Detalles](https://es.wordpress.org/plugins/geotargeting/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/geotargeting/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/geotargeting/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/geotargeting/#developers)

 [Soporte](https://wordpress.org/support/plugin/geotargeting/)

## Descripción

Based on [Maxmind GeoIP2](http://www.maxmind.com/?rId=timersys) data Geo Targeting
plugin for WordPress will let you create dynamic content based on your users country.

With a simple shortcode you will be able to specify which countries are capable 
of seeing the content.

Compatible with [WordPress Popups Plugin](https://timersys.com/popups/?utm_source=geot-readme&utm_medium=link&utm_term=popus%20premium&utm_campaign=Popups%20premium).
You can now geotarget your popups

If you use popular firewall services such as Cloudflare, Reblaze, Sucuri, Ezoic,
Akamai or Clouways the plugin will auto detect real IP from users.

This plugin it’s a basic version with limited functionality. For a full geo plugin
please refer to https://geotargetingwp.com

Uso:

    ```
    [geot country="Argentina"] Messi is the best! [/geot]``
    [geot country="Portugal"] Cristiano ronaldo is the best! [/geot]``
    [geot exclude_country="Portugal"] This text is seeing by everyone except Portuguese people [/geot]``
    Current user is located in [geot_country_name]``
    Current user country code is [geot_country_code]``
    ```

The plugin save into it’s own cache the country you are in. If you need to test 
for different countries you have two options:

You can pass a country iso code in the url like this:
 http://demo.com/some-page/?
geot_debug=US«

Or you can add in wp-config.php the following to use your own VPN
 define(‘GEOT_DEBUG’,
true);«

> **Premium Version**
> Check the **new premium version** available in ([https://geotargetingwp.com/](https://geotargetingwp.com/?utm_source=geot-readme&utm_medium=link&utm_term=geot%20premium&utm_campaign=Geot%20premium))
> that comes with Premium database with much more accuracy.
>  * Geo Redirects * GeoTarget
> countries, cities and states * Cloudflare geolocation support * Geotarget posts/
> pages entirely * Create multiple Redirects based on user countries states or cities*
> Editor button to easily add shortcodes * Create multiple regions (group of countries
> or cities) to use with shortcodes * Exclude countries, cities and regions shortcode*
> Dropdown Widget to let users change their country (with flags) * Complete set 
> of PHP functions * Hide Woocommerce or Easy digital downloads products. Works 
> with any plugin * AJAX mode that make plugin compatible with Cache plugins * Geotarget
> menu items, widgets, everything * Upcoming integration with other populars plugins*
> Premium support

#### WordPress Popups

Best popups plugin ever ([https://wppopups.com/](https://wppopups.com/?utm_source=wsi-free-plugin&utm_medium=readme))

## Instalación

 1. Unzip and Upload the directory ‘geo-targeting’ to the ‘/wp-content/plugins/’ directory
 2. Activa el plugin desde el menú ‘Plugins’ de WordPress
 3. Go to the editor and use as many shortcodes as needed
 4. If it fails try uploading files manually by ftp

## FAQ

### How can I display content to everyone except some countries

If you have content that want to be display to USA’s users but then you want to 
show another content to everyone else, you can do the following:
 [geot country=»
US»] USA only content [/geot] [geot exclude_country=»US»] Everyone except USA will
see this [/geot]

2 Letter iso codes are better for geolocation shortcodes but the plugin also accepts
country names.

## Reseñas

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

### 󠀁[Waste of time](https://wordpress.org/support/topic/waste-of-time-328/)󠁿

 [pauljwhite](https://profiles.wordpress.org/pauljwhite/) 7 de septiembre de 2023

Free version is a joke.

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

### 󠀁[working good](https://wordpress.org/support/topic/charging-one-year-without-authorization/)󠁿

 [ggrebe](https://profiles.wordpress.org/ggrebe/) 19 de octubre de 2022 1 respuesta

It works good. In addition I did a mistake with payment and they gave me the money
back same day.

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

### 󠀁[free version unusable](https://wordpress.org/support/topic/free-version-unusable-4/)󠁿

 [john smith](https://profiles.wordpress.org/hippypink/) 14 de abril de 2022

doesnt work with caching, and since all sites using caching today, look for another
plugin

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

### 󠀁[…](https://wordpress.org/support/topic/the-plugin-works-perfectly-5/)󠁿

 [Anonymous User 18712620](https://profiles.wordpress.org/anonymized-18712620/) 
12 de septiembre de 2022

…

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

### 󠀁[Nothing work, just promotion for premium version.](https://wordpress.org/support/topic/nothing-work-just-promotion-for-premium-version/)󠁿

 [amjoxe](https://profiles.wordpress.org/amjoxe/) 27 de octubre de 2021 1 respuesta

«This plugin won’t work if you have any page cache in your site/server» Even tho
I disabled cache on server/site and I try it localhost/online nothing work, was 
interested in the premium version, but as this one won’t work, no thanks.

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

### 󠀁[doesn’t work if you have a caching plugin](https://wordpress.org/support/topic/doesnt-work-if-you-have-a-caching-plugin/)󠁿

 [itaiaze](https://profiles.wordpress.org/itaiaze/) 13 de julio de 2021

Really, don’t waste your time on the free version: it doesn’t work if you use a 
caching plugin! Duh. I can understand making premium features, but this is useless
and a waste of time for 99.9% of websites out there. I just needed a simple phrase
to be hidden in certain countries. Oh well.

 [ Leer todas las 32 reseñas ](https://wordpress.org/support/plugin/geotargeting/reviews/)

## Colaboradores y desarrolladores

«GeoTargeting Lite – WordPress Geolocation» es un software de código abierto. Las
siguientes personas han colaborado con este plugin.

Colaboradores

 *   [ Damian ](https://profiles.wordpress.org/timersys/)

[Traduce «GeoTargeting Lite – WordPress Geolocation» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/geotargeting)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/geotargeting/) , echa
un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/geotargeting/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/geotargeting/)
por [RSS](https://plugins.trac.wordpress.org/log/geotargeting/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.3.6.1

 * Added country name and code shortcodes

#### 1.3.5.1

 * Settings update

#### 1.3.5

 * Fixed IP on varnish when returning two ips
 * Added debug data to ip test page

#### 1.3.4.1

 * Removed start_session from plugin which is not longer used
 * Updated latest version

#### 1.3.4

 * Added auto update db into plugin

#### 1.3.3

 * Updated db
 * Added support for geot maxmind db updater

#### 1.3.2

 * Updated db

#### 1.3.1

 * Updated db

#### 1.3

 * Updated db
 * Added settings page for debug mode
 * Added Ip testing page

#### 1.2.1

 * Updated db
 * Fixed bug where countries db not being populated after uninstall
 * Added new debug method for easy debugging

#### 1.2

 * Updated db
 * Updated country db list of iso codes
 * Added clouways real ip detection

#### 1.1.9

 * Updated db
 * Updated readme file
 * Changed default country for bots/crawlers

#### 1.1.8

 * Updated db
 * Code improvements

#### 1.1.7

 * Updated db
 * Added akamai and Ezoic real IP detection
 * Added crawler detect class for better detection

#### 1.1.7

 * Updated db
 * Real Ip is autodetected from Cloudflare, sucuri and Reblaze

#### 1.1.6

 * Fixed problem with fallback country generating undefined errors
 * Fixed problem that was generating installation errors
 * Updated ip database

#### 1.1.5

 * Added catch to all exceptions
 * Updated ip country database

#### 1.1.4

 * Fixed bug when address is not found
 * Removed country calculation on ajax and cron calls

#### 1.1.3

 * Updated popups integration for latest version
 * Updated country Database

#### 1.1.2

 * Fixed function country name
 * Added fallback in case IP not found

#### 1.1.1

 * Fixed bug with popups integration
 * Fixed bug in some shortcodes and functions

#### 1.1

 * Now we use Maxmind API and mmdb database instead of loading mysql server
 * No more heavy databases installs on plugin installation
 * Added cloudflare geolocation

#### 1.0.3

 * Added support for [WordPress Popups Plugin](https://wordpress.org/plugins/popups/)
 * Added multisite support

#### 1.0.2

 * Added sessions to cache user country and calculate it just once per session
 * Updated IP database
 * Removed calculate IP in admin area because was not necessary

#### 1.0.1

 * Fixed error uploading data on activation or certain servers
 * Fixed error in php functions
 * Updated IP database

#### 1.0.0

 * Plugin launched!

## Meta

 *  Versión **1.3.6.1**
 *  Última actualización **hace 4 años**
 *  Instalaciones activas **1.000+**
 *  Versión de WordPress ** 3.6 o superior **
 *  Probado hasta **6.1.10**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/geotargeting/)
 * Etiquetas:
 * [cloudflare](https://es.wordpress.org/plugins/tags/cloudflare/)[geo target](https://es.wordpress.org/plugins/tags/geo-target/)
   [geolocation](https://es.wordpress.org/plugins/tags/geolocation/)[geotargeting](https://es.wordpress.org/plugins/tags/geotargeting/)
   [wordpress geotargeting](https://es.wordpress.org/plugins/tags/wordpress-geotargeting/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/geotargeting/advanced/)

## Valoraciones

 3.9 de 5 estrellas.

 *  [  23 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/geotargeting/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/geotargeting/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/geotargeting/reviews/?filter=3)
 *  [  1 valoración de 2 estrellas     ](https://wordpress.org/support/plugin/geotargeting/reviews/?filter=2)
 *  [  8 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/geotargeting/reviews/?filter=1)

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

[Ver todas las valoraciones](https://wordpress.org/support/plugin/geotargeting/reviews/)

## Colaboradores

 *   [ Damian ](https://profiles.wordpress.org/timersys/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/geotargeting/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://geotargetingwp.com/)