Title: Geolocated Content
Author: mdifelice
Published: <strong>September 12, 2018</strong>
Last modified: October 28, 2019

---

Search plugins

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

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.

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

# Geolocated Content

 By [mdifelice](https://profiles.wordpress.org/mdifelice/)

[Download](https://downloads.wordpress.org/plugin/geolocated-content.0.2.zip)

 * [Details](https://test.wordpress.org/plugins/geolocated-content/#description)
 * [Reviews](https://test.wordpress.org/plugins/geolocated-content/#reviews)
 * [Development](https://test.wordpress.org/plugins/geolocated-content/#developers)

 [Support](https://wordpress.org/support/plugin/geolocated-content/)

## Description

Allows to deliver different content to visitors from different locations.

## FAQ

  What does this plugin do?

This plugin basically allows you to have different versions of your site, each
 
one with specific content according to the visitor location.

  How this plugin changes my site?

If your site is _mysite.com_, and you have created the locations _Japan_ and
 _Italy_,
when the visitor goes to _mysite.com/japan_ will only see posts which belong to 
the Japan location, and when they go to _mysite.com/italy_ they will see posts which
belong to the Italy location.

If they go to _mysite.com_ they will only see posts which are not assigned
 to a
particular location, unless you define a default location. In that case, they will
see posts which belong to such location. Note that assigning a post to the default
location will make it appear in all locations.

  How do I assign posts to each location?

Basically you create location terms, which are like any other WordPress
 taxonomy(
categories or tags), and then, when creating a post you assign that location to 
that post.

  How do I create new locations?

The location manager submenu is located inside the _Posts Menu_.

  What is the *Location Slug* setting for?

Each market has its own _home_ page, which is something like
 _mysite.com/such-location_.
But, in case you have defined a default location, in that page you will see posts
from the specified location mixed with posts from the default location. In case 
you want to see only a list of posts from the specified location, there is another
page which you may see by going to _mysite.com/location-slug/such-location_. That
string, _location-slug_ can be changed by modifying the setting _Location Slug_.

  How does the visitor redirection works?

If you enable the visitor redirection (in the _Settings -> Geolocated Content_
 
section), the system will attempt to determine which location the visitor is nearer,
and it will redirect them there. In order this feature to work you must specify 
each location latitude and longitude coordinates (that is done when creating a new
or editing a new location).

This redirection only works if the visitor is not navigating any location
 (the 
visitor is browsing _mysite.com_, not _mysite.com/location_).

  How the system determines the visitor location?

It uses the WordPress public geo API. You can check it out here:
 [https://public-api.wordpress.com/geo/](https://public-api.wordpress.com/geo/).

  What is the tolerance radius?

The system will always try to redirect the visitor to its nearest location
 (only
if the visitor redirection is enabled). If you specify a tolerance radius, it will
only redirect the visitor to its nearest location if they are in a distance no longer
that such radius of kilometers from the location.

  What does the geolocated settings do?

If you enable this option, it allows to specify a different setting value for
 a
specific location. For example, if some plugin allows you to determine the color
of your site background, you can change this color for different locations. Note
that this feature may not work in all plugins, it will work in plugins which use
the **WordPress Settings API** for registering their settings.

  Does this plugin makes my site slower?

It should not, or at least not significantly. If well the geolocation process
 requires
communicating with an external API, it only calls it once a day per visitor (the
location of the visitor is stored in a cookie). Also, this plugin is compatible 
with most full page cache plugins, like **Batcache** or **W3 Total Cache, and does
not any extra query in front-end requests.

  Why I cannot assign locations to pages?

Because pages are not supposed to be listed in a archive page. The idea of
 this
plugin is to filter lists or archives according to the visitor location, not to 
restrict content.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Geolocated Content” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Geolocated Content” into your language.](https://translate.wordpress.org/projects/wp-plugins/geolocated-content)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/geolocated-content/),
check out the [SVN repository](https://plugins.svn.wordpress.org/geolocated-content/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/geolocated-content/)
by [RSS](https://plugins.trac.wordpress.org/log/geolocated-content/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

= 0.2
 * Added compatibility with REST API and Gutenberg

#### 0.1.1

 * Added extended settings feature.
 * Added FAQ section.
 * Completed spanish translation.

## Meta

 *  Version **0.2**
 *  Last updated **7 years ago**
 *  Active installations **Fewer than 10**
 *  Tested up to **5.3.21**
 *  Language
 * [English (US)](https://wordpress.org/plugins/geolocated-content/)
 * Tag
 * [geolocation](https://test.wordpress.org/plugins/tags/geolocation/)
 *  [Advanced View](https://test.wordpress.org/plugins/geolocated-content/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/geolocated-content/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/geolocated-content/)