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.com and the secondary site (for a second language of the site) is running under en.mydomain.com.

I have followed the instructions here: https://codex.wordpress.org/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??

  • 2
    Does the problem still appear if you deactivate those Plugins?
    – fischi
    Mar 9, 2017 at 13:29

1 Answer 1


Well, 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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.