wp-geotargeting

Geotargeting WP: Everything You Need To Geotarget Your WordPress Site
Ever wished that you could change how your WordPress site functions based on a user’s location?

It’s a big wide world out there and people from different locations don’t always want/need the same experience on your site.

You might want to:

  • Show different ads based on a user’s location
  • Automatically send people to their local language on a multilingual site
  • Restrict access to content based on location
  • Change which cloaked affiliate link you send people to based on their location
  • …or a whole lot more

The problem? WordPress doesn’t let you do that! At least not without help…

Geotargeting WP is a suite of 5 plugins that change that lets you add geotargeting to your WordPress site in all kinds of ways.

  • Geotargeting Pro – change content based on location (including WordPress widgets and menu items)
  • Geo Redirects – redirect visitors based on their location.
  • Geo Links – cloak your affiliate links and send people to different destinations based on location.
  • Geo Blocker – block access to your site based on location.
  • Geo Flags

In this post, you’ll learn what all you can do with these plugins.

How Does Geotargeting WP Work?

There are two core parts to Geotargeting WP.

First, there are the plugins. There are 5 unique plugins that you can mix-and-match based on your needs:

  • Geotargeting Pro – change content based on location (including WordPress widgets and menu items)
  • Geo Redirects – redirect visitors based on their location.
  • Geo Links – cloak your affiliate links and send people to different destinations based on location.
  • Geo Blocker – block access to your site based on location.
  • Geo Flags – display a visitor’s local country flag.

The second part is the API service, which is what helps you actually figure out where a user is located.

In order to understand a user’s location, you need a way to turn their IP address into a physical location. That’s what the API service does!

Once you accurately figure out where a visitor is located, the plugins help you apply that knowledge in all kinds of useful ways.

Geotargeting WP lets you target by:

  • Country
  • State
  • City

You can also create your own custom “regions” that consist of any number of locations, which helps you quickly target relevant location groups without the need to manually add each location every time.

And if you want, you’re also able to use your own locally hosted IP database, like MaxMind or IP2Location.

Let’s go through what you can do with the plugins in more detail…

Geotargeting Pro – Change WordPress Content Based On Location

Geotargeting Pro has the broadest functionality of all the Geotargeting WP plugins.

It lets you do two things for regular posts, pages, or custom post types (including WooCommerce or Easy Digital Downloads products):

  • Change in-post content based on location using shortcodes (or PHP functions)
  • Restrict access to an individual piece of content based on location (including an option to hide the content from the WordPress loop for unauthorized locations)

Then, it also includes functionality to let you geotarget:

  • Any WordPress widget
  • WordPress menu items

So what can you do with it? Well, this is no means a complete list, but some of the most helpful things are:

  • Displaying targeted ads based on a user’s location, either in content or in your sidebar.
  • Including location-targeted messages inside the post content.
  • Creating separate navigation menus for different locations.

To restrict access using the shortcode, you’ll get a new shortcode builder tool in the WordPress editor:

And to restrict access to entire pieces of content, you can use the GeoTargeting Options meta box:

You’ll also get similar options when working with widgets or menu items. For example, you can see how each widget gets its own set of geotargeting options:

Geo Redirects – Redirect Users Based On Location

Geo Redirects helps you redirect incoming visitors based on their location. This is helpful for things like:

  • Sending people to their local language on a multilingual site
  • Using a different dedicated landing page based on a user’s location

To trigger your redirects, Geo Redirects gives you a number of rules that you can mix and match using AND/OR conditions. So beyond just location, you can also take other things into account like:

  • If a user is from Germany AND not logged-in, then redirect them.
  • If a user is from Germany AND visits yoursite.com/special-offer, then redirect them.

Geo Redirects also lets you get creative with where you send visitors.

You can send all the targeted people to a single static destination. Or, you can use dynamic placeholders to send them to a different spot based on their location or the URL that they’re trying to visit.

This latter method is especially helpful for multilingual sites because it lets you redirect them to the same piece of content, just in a different language.

Geo Links – Cloak Links Based On Location

Geo Links is kind of like Geo Redirects…but for cloaked links in your content. That is, from one link, it lets you send users to different destination URLs based on their location.

It’s most useful for geotargeting affiliate links to ensure that you don’t miss out on commissions because you sent people to the wrong place.

So you can, for example:

  • Send USA visitors to the US version of Amazon
  • Send German visitors to the German version of Amazon
  • Etc.

Here’s how it works:

First, you set up a default base link slug. For example, yoursite.com/recommends/slidedeck redirects to slidedeck.com. This is where visitors will be sent unless they are from a targeted location.

Then, you can add different URLs for specific locations. If a user meets the conditions, they’ll be sent here instead of the default URL:

Geo Blocker – Block Access To WordPress Site Based On Location

Geo Blocker helps you restrict access to your WordPress site based on geolocation. Whereas Geotargeting Pro is more focused on restricting individual pieces of content, Geo Blocker makes it easy to restrict large portions of your site.

Using those same AND/OR types of rules from the Geo Redirects plugin, you can quickly block access to:

  • Specific pieces of content
  • Entire post types
  • Categories or tags
  • Your entire site
  • Etc.


Beyond that, you can also create a custom message to show to users who aren’t authorized to see the content. And you can also exclude search engines so that you don’t hurt your site’s SEO.

Geo Flags – Display User’s Country Flag On WordPress

Finally, Geo Flags is the most simple plugin in the Geotargeting WP family. It helps you display the country flag for each visitor’s location.

You can easily insert different-sized country flags anywhere on your site using a simple shortcode.

How Much Does Geotargeting WP Cost?

All of the Geotargeting WP plugins are free. You only pay based on your usage of the targeting API.

Each time you request a visitor’s location, that counts as one request. Note – that does not mean that each page view is a request.

Geotargeting WP can cache the location of a visitor. So if a visitor keeps browsing different parts of your site, that will not count as additional requests.

Additionally, only visitors who actually use the geotargeting feature count – not every visitor to your site.

For example, if you only use geotargeting on a single landing page, only visitors to that specific landing page will count as a request.

You can get started for free with a 14-day free trial. After that, the pricing starts at $9 per month based on the number of requests you need to handle:

Start Geotargeting Your WordPress Site Today!

If you want to geotarget your WordPress site, the Geotargeting WP family of plugins is your one-stop shop.

You can pick and choose exactly which plugins you want to use based on the functionality that you need.

Start enjoying a more geotargeted WordPress site today!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *