по-русски

WordPress GeoTargeting Plugin back to main

WordPress plugin that enables country-specific contents and performs redirects based on visitor's country.

Plugin name: WordPress GeoTargeting
Plugin version: 1.0.3
Price: $25.00 or 20WMZ  order now
WordPress versions: from 2.8.4 to 3.8

Use this wordpress plugin to output contents based on visitor's country or simply send all traffic from certain countries to other source.

Quick navigation: FeaturesInstallationOptionsSupported CountriesGeoTargeting for ContentsGeoTargeted PersonalizationGeoTargeted RedirectionGeoIP DatabaseDemo and screenshotsFAQFree LicencesLicenseOrderContact


Features ↑ top

Installation ↑ top

Installation is very easy and should not make any problems to blog owner with at least 1 successful plugin installation experience.

  1. Unpack archive containing plugin and upload it to plugins directory of your WordPress installation. Please make sure to upload the whole 'geotargeting' folder. You can rename the folder, but plugin files must stay in their own directory.
  2. Open your wordpress dashboard and activate plugin via 'Manage Plugins' interface.
  3. Now you have new item in 'Tools' menu. It's called 'GeoTargeting' and you should go there to configure plugin (see options section).

Options ↑ top

GeoTargeting plugin is highly configurable, and let's you change anything about how it works without modifying plugin source code. Click 'GeoTargeting' link from 'Tools' menu to open Plugin options screen.

  1. "Enable GeoTargeting for contents"
    Turns GeoTargeting for contents on. [GeoTargeted] and [GeoTargeting] QuickTags will work only is this option is turned on.
  2. "Treat RSS as separate country"
    Tell plugin how to act when it's called from RSS feed. You have 2 options: output contents based on IP of RSS Reader or output special message for RSS readers.
  3. "Enable GeoTargeted redirection"
    Turns GeoTargeted redirection. You need to create redirection rules for all the countries you want to send away from your blog.
  4. "Log hits"
    Turns logging for country-based redirection on.
  5. "Maximum number of logs to store in database:"
    Limit the number of logs stored in the database to prevent big table and slower queries.
  6. "Maximum number of days to store logs for:"
    Limit the age of logs stored in the database to prevent big table and slower queries.
  7. "Number of logs per page:"
    How many logs to show per one stats page in dashboard.
  8. "Update GeoIP database automatically"
    Turn this on if you want plugin to update database automatically.
  9. "Number of days between check for database update:"
    Specify how often to check for GeoIP database update. Usually database is updated in the beginning of every month.
  10. "Delete all plugin settings and logs on deactivation"
    If this option is turned on, plugin will clean all its data (as well as latest GeoIP database) on deactivation.

Supported Countries ↑ top

Currently plugin supports 252 countries and other regions. It's not always possible to resolve visitor's IP to specific country due to database inaccuracy. For example, some IPs resolve as 'Asia/Pacific Region'.

Plugin lists all the countries it supports along with their ISO2 codes and flags.

You can test ip2geo lookup for any IP address using simple form on the top of the main plugin screen.

List of supported countries is located just below IP2Country Lookup form:

GeoTargeting for Contents ↑ top

After you enable "GeoTargeting for Contents" using plugin options screen, you can use the following QuickTag: [GeoTargeted]

Use this tag to show your contents to single country:
Use this tag to show your contents to several countries:
Show contents to all countries except listed:
Use this tag to show your contents to RSS readers:

[GeoTargeted] QuickTag can accept 2 lists of countries: either list of countries to show contents inside it ("GeoTargeted to") or list of countries which should not see the contents inside it ("GeoTargeted out").

Countries are identified by their ISO2 code which can be obtained on main plugin page (ISO2 codes are listed in list of supported countries) or here.

Multiple countries must be separated by commas. You can use both single or double quotes inside QuickTags. You can wrap several lines with [GeoTargeted] QuickTag.

RSS readers are treated as separated country (with code "RSS") only if you turn special option on.

You can use this [GeoTargeted] QuickTag anywhere inside WordPress posts/pages as well as inside WordPress theme files like sidebar.php.

Let's consider the following example: you have affiliate offer for U.S. visitors, another offer for U.K. visitors, and also want to show some advertising to visitors from other countries. You should use the following construction:

	[GeoTargeted to="US"]Put your offer to U.S. visitors here.[/GeoTargeted]
	[GeoTargeted to="UK"]Put your offer to U.K. visitors here.[/GeoTargeted]
	[GeoTargeted out="US,UK"]Put your advertising for non-US and non-UK visitors here.[/GeoTargeted]

GeoTargeted Personalization ↑ top

After you enable "GeoTargeting for Contents" using plugin options screen, you can use the following QuickTags to show personalized messages to visitors of your blog:

IP Address:
Country name:
Country code:
Country flag:

You can use this [GeoTargeting] QuickTag anywhere inside WordPress posts/pages as well as inside WordPress theme files like sidebar.php.

GeoTargeted Redirection ↑ top

This plugin allows you to send all traffic from certain countries to specified URL.

To do so, you need to enable "GeoTargeted redirection" option on main plugin screen.

After that, you need to create redirection rules: 1 rule for every country you want to send traffic from.

To create a rule, choose country from selectbox and enter URL for redirection into text field.

If you want to add more than 1 rule at a time, click green 'plus' icon on the right.

To modify a rule, simply change its destination URL.

To delete a rule, click its red 'X' icon.

Please note, that all changes to list of redirection rules are saved after you submit the form to the server. Do not forget to save your changes.

You can also enable logging of all traffic redirected by the plugin.

For every hit plugin will record IP address of the visitor, browser, timestamp of the event and 3 URLs: referring URL, requested URL and redirected URL.

You can configure how many records to store in the database and how many days to store logs for.

To view logs, open plugin main page and click 'Statistics' link in the top menu.

On statistics screen you can see number of visitors redirected (by country) as well as browse detailed logs for any country.

You can truncate logs database manually as well as reset countries redirection counters.

GeoIP Database ↑ top

WordPress GeoTargeting Plugin uses free MaxMind GeoLite Country database to perform IP2Country lookups.

This database is free to use and is available for download from maxmind.com. You don't have to pay any monthly (or yearly) fee to use (or update) this database.

This database provides 99.5% accuracy level for ip2geo resolution.

Original database is updated monthly, and you can configure WordPress GeoTargeting Plugin to check for updates regularly and download new version of GeoIP database when it's available.

If you want plugin to automatically update the database, you need to enable file uploads in your blog.

If you do not want plugin to perform periodic checks for available updates, you can still update the database in couple of clicks.

To manually update the database, open plugin options page, click 'Your current database is X days old (click to view details)' link and hit 'check now' button.

Demo and screenshots ↑ top

FAQs ↑ top

  1. Can I limit size of logs stored?
    Yes, you can limit both number of logs stored and maximum age of stored logs. If you want to keep all logs, disable both limits (store all, store forever).
  2. Why number of hits is greater than actual hits shown on detailed page?
    This may happen because some hits have been purged from the database (either automatically or manually).
  3. How can I drop all logs?
    Go to plugin statistics page and use 'purge logs' form.
  4. I want to deactivate plugin temporary, will it save its data?
    Plugin doesn't delete any data on deactivation by default; you can turn option for total cleanup on deactivation if you want to completely remove plugin from your blog.
  5. How can I reach the plugin page?
    Open your dashboard, click "Tools" menu, click "GeoTargeting" link inside "Tools".
  6. How can I reach plugin stats page?
    Open plugin page, click "Statistics" link under plugin icon/title.
  7. Can I rename plugin folder?
    Yes.

Free Licences ↑ top

There are two ways to get free WordPress GeoTargeting license:

  1. Help us with plugin localization — translate plugin itself and its short description into another language. Plugin is ready for translation by editing its .pot file.
  2. Help us with plugin promotion — if you own popular blog, you can post (fair) review of this plugin there and put a backlink to this website.

If you are willing to help us in exchange for free license, please contact us.

License ↑ top

You can use this software on any wordpress blog you own; you can not put it on any website for download; email it to your friends or share it in any other way. One license gives you unlimited PERSONAL USE ONLY. No exceptions. All forms of reproduction are strictly prohibited.

This software s distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

No need to buy extra license for every domain name.

Order ↑ top

Price: $25.00 or 20WMZ

Payment via:
Share-It!


Your name:

Your email:

Ask Question ↑ top

Your name:
Your email:
Question: