In WP 4.4 you do not need the domain mapping plugin. Remove the mappings & the DM plugin. Then edit the URLs of the sites to be the domains you want.
That’s great! Thanks Ron!
Last question: After simply deactivating the plugin, should I then correct something in the database?
Like something that has been saved with sitea.siteb.com/ changing it to sitea.com/, or it is automatic?
There are 2 domain_mapping tables that you can delete from the DB (once you know you have everything you need).
When you edit the URL, the links in the existing posts/pages are not updated to reflect that change.
Ok I see thanks.
On a new installation I tried to avoid the mapping plugin and it works BUT only with the http://www.domain.com.
If I digit just domain.com it appears http://maindomain.xyz/wp-signup.php?new=domain
Once it happened to me and I fixed it with some lines in the .htaccess
But there isn’t a way to just avoid this to happen?
Thanks
Is your main site running on the www. of the main domain?
Not at all is without the www. as usual for multisite installation
When you add the domain pointers/aliases in your webserver config for the domains are you adding them with or without the www?
I add the with both.
I create the principal redirection and then the www. alias
I create the principal redirection
You should not be redirecting the non-www domain. In your web server control panel you should be creating a domain alias (parking the domain in cPanel).