{"id":8496,"date":"2021-04-30T16:00:38","date_gmt":"2021-04-30T14:00:38","guid":{"rendered":"https:\/\/www.welaunch.io\/en\/?post_type=faq&p=8496"},"modified":"2021-04-30T16:00:38","modified_gmt":"2021-04-30T14:00:38","slug":"how-does-the-wp-multisite-language-redirect-work","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/how-does-the-wp-multisite-language-redirect-work\/","title":{"rendered":"How does the WP Multisite Language Redirect work?"},"content":{"rendered":"
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<\/a>.\u00a0<\/p>\n 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.\u00a0<\/p>\n The redirect functionality works like this:<\/p>\n 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.<\/p>\n\t\n
this will return 2 char or 5 char value (e.g. “de” or “de-DE”)<\/li>\n
\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n