I have a main site – fleetcomplete.com
Some other domains have A records in the DNS to point to the one above.
^ These don’t have certificates yet so you do get the certificate warning.
I have this in my wp-config:
* Handle multi domain into single instance of wordpress installation
define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
They both keep still going to the .com version if i try and go to their root.
If I go to a child page and then click on any other child page it is fine, unless i try and click home
I am not sure what else to try, and I can’t find anything on Google to help.
Read more here: Dual Domain – Works for child pages but not homepage