I have set up my WP as multisite (with the definition in wp-config.php and the commands in .htaccess files) and it seems like everything is working fine in the admin of the two sites. The problem is that that main site, running directly under the main domain is redirected to the subdomain (holding the secondary site), in the browser.
For example, the main is running under mydomain and the secondary site (for a second language of the site) is running under en.mydomain.
I have followed the instructions here: (setting it up as sub-domains, of course)
I also installed the following plugins: Polylang, Multisite Language Switcher, Wordpress MU Domain Mapping
What is missing in my configurations and/or what am I doing wrong??
I have set up my WP as multisite (with the definition in wp-config.php and the commands in .htaccess files) and it seems like everything is working fine in the admin of the two sites. The problem is that that main site, running directly under the main domain is redirected to the subdomain (holding the secondary site), in the browser.
For example, the main is running under mydomain and the secondary site (for a second language of the site) is running under en.mydomain.
I have followed the instructions here: https://codex.wordpress/Create_A_Network (setting it up as sub-domains, of course)
I also installed the following plugins: Polylang, Multisite Language Switcher, Wordpress MU Domain Mapping
What is missing in my configurations and/or what am I doing wrong??
Share Improve this question asked Mar 9, 2017 at 13:19 TheCuBeManTheCuBeMan 1591 silver badge7 bronze badges 1- 2 Does the problem still appear if you deactivate those Plugins? – fischi Commented Mar 9, 2017 at 13:29
1 Answer
Reset to default 1Well, based on @fischi's comment, I've deactivated the Polylang plugin and it seems that this was the root of my problem here. And now it even makes sense, because when working with multisite in WP, there is no need for a multi-language plugin, because every site is in its own language (in this case, anyway). So, thank you @fischi!