
- #LANGUAGE SWITCHER OPTIONS WPML NO FLAG HOW TO#
- #LANGUAGE SWITCHER OPTIONS WPML NO FLAG CODE#
- #LANGUAGE SWITCHER OPTIONS WPML NO FLAG ISO#
#LANGUAGE SWITCHER OPTIONS WPML NO FLAG ISO#
If you're using a subfolder with two-letter ISO codes, you'll want to redirect users to: The format of your Destination URL depends on the URL structure for the translated versions of your pages. This is important because it ensures that you can redirect users to the exact same page in the relevant language and offer a great user experience: Geo Redirects lets you use dynamic placeholders to redirect users. The most important setting here is the Destination URL. Once you've chosen which countries you want to target your redirect for, you can scroll down to the Redirection Options area. Then, include every country that you want to target : To perform either method, just make sure to use OR, not AND.

For example, Argentina would go to "ar" instead of "es".

Just be aware that this will not work for languages where the country speaks a different language than its 2-letter ISO country code.
#LANGUAGE SWITCHER OPTIONS WPML NO FLAG CODE#

Then, in the is equal to section, select the country that you want to target your redirect towards: But for this specific use, you'll likely want to choose Country from the drop-down. Geo Redirects lets you redirect users based on a number of different conditions. The Redirect Rule(s) essentially define what conditions will trigger the redirect. Give your redirect a name so that you can remember it. To get started, go to GeoTargetingWP → Geo Redirects and click Add New :
#LANGUAGE SWITCHER OPTIONS WPML NO FLAG HOW TO#
Then, here's how to set it up: Step 1: Create New Redirect And Set Redirect Rules To get started, make sure you've installed and activated the GeotargetingWP plugin, and activate Geo Redirects addon. vn./post or /vn/post ), Geo Redirects can help you redirect users to the proper translation. The plugin will work with any WordPress translation plugin, including:īasically, as long as your translation plugin creates a separate version of your website for translations (e.g.

To redirect users to a different translation on your site based on their geolocations, you can use the Geo Redirects addon from Geotargeting WP. What You Need To Redirect Users To Different Language Based On Geolocation
