I have a main site - something.com
Some other domains have A records in the DNS to point to the one above.
something.co
something.nl
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
https://something.nl/en/products/
I am not sure what else to try, and I can't find anything on Google to help.