@njansen, @enricocioccolini, does this happen for all the site ids or is it just for site id 1. I am having the same issue, only for site id = 1, though
Hello,
I am having the same problem as OP. So, I have created a site http://example.com and subsites http://fr.example.com, http://de.example.com (using WP multisite).
Now, I need to map http://yahoo.example.com to http://example.com. They are basically the same site except for a small change in the header and footer (which I handle in the theme files).
How do I do this? Installed domain mapping plugin, and it lets me map “http://yahoo.example.com” to “http://fr.example.com” (site id 2), but it does not let me map “http://yahoo.example.com” to “http://example.com”. I tried what Andrew suggested above (first create a mapping to site id 2 and then change domain_mapping table). It seems to work, but I am worried that its a hack and will break something else.
Any inputs is highly appreciated? Can I use this hack in PROD?
Thanks
Sriram