Redirecting users to their correct language and country page is an essential feature when you work with a multilingual WordPress multisite. That is why the automatic redirect is directly built within our multilingual multisite plugin

In plugin settings > Mater & Redirects you can enable automatic redirect. It is required to set a master site. Normally this should be your main blog page (e.g. the domain.com without subfolder or subsite). This, because you will redirect domain.com to domain.com/de/ or domain.com/fr/, which are own subsites. 

The redirect functionality works like this:

  1. It checks Users Browser language preferences
    this will return 2 char or 5 char value (e.g. “de” or “de-DE”)
  2. When IP Based redirect is enabled the Country code of users preferences from 1. will be overwritten or added
  3. System checks if language AND country Code site is available based on your blog settings > General > Language & Country
  4. If not available it will use ONLY language to check (e.g. a de-AT user will be redirected to DE site)
  5. If none language or country blog exists the default redirect blog will be used

When you turn on IP redirection, it uses an external service to convert IP into country code. Check with your legal department if IP is allowed to send to this service before using it.

language redirect settings in multilingual multisite

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *