GeoIP Redirector for WPML (WordPress)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
database
js Added JS debugging, cleanup Apr 6, 2014
lib/geoip-api-php Initial version Oct 30, 2013
LICENSE
README.md
WPML_GEOIP_admin_page.class.php Default values for language mapping and default language added Aug 9, 2017
WPML_GeoIP_IPResolver.class.php [Issue #20] Settings page added to make language mapping easier Mar 11, 2017
changelog.txt Added JS debugging, cleanup Apr 6, 2014
wpml-geoip-browser-language-redirect.php

README.md

GeoIP Redirector for WPML

This is a WordPress plugin that changes the browser language redirect in WPML from simple browser language detection to using a GeoIP database (MaxMind) to pinpoint user location more exactly.

Usage

  • Install this as a plugin
  • Make sure WPML is enabled and that you have enabled the "Browser language redirect" in the WordPress admin, under WPML > Languages > Browser language redirect > Redirect visitors based on browser language only if translations exist (Enable this option)
  • Set up your language mappings in the plugin UI