Multi Domain Plugin not working
-
Anyway I installed your plugin as it seems super useful.
We have 2 domains:
https://MapGage.com
which is the main domain using wordpess. All works fine.Then we recently got:
https://GolfGage.comwe setup DNS A NAME command to point
GolfGage.com –> 104.198.1.35
and all works fine as you see. The domain points to wordpress installation.Then we installed your Plugin as we want a specific page to appear as the homepage for GolfGage.com:
USED DOMAIN ORIGINAL URL
https://www.golfgage.com –> https://www.mapgage.com “/golf-management-using-drones”But, this did not solve the issue. GolfGage.com always points to the Homepage of MapGage (just as the A NAME settings tell it to do. But your plugin does not do the internal redirect)
When this didn’t work we started to try to POINT all domains to the main server directory where wordpress is installed.
There are tons of resources that all explain some slightly different and tell you to di it slightly different. Very confusing.
Our wordpress is self-hoster using https://serverpilot.io.
Serverpilot manages all the server settings to manage wordpress in an automated fashion. It has the option to add additional domains to a wordpress installation. So we added GolfGage.com and https://www.GolfGage.com to it.Still, this did not solve the issue. GolfGage.com always points to the Homepage of MapGage (just as the A NAME settings tell it to do. But your plugin does not do the internal redirect)
We then also updated wp-config.php with the following info:
/*
* Handle multi domain into single instance of wordpress installation
*/
define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);Again, this did not solve the issue. GolfGage.com always points to the Homepage of MapGage (just as the A NAME settings tell it to do. But your plugin does not do the internal redirect)
Our WP is hosted in this UNUSUAL folder:
/srv/users/serverpilot/apps/wordpress-mapgage/public
might this cause an issue?Finally, we changed the Multiple Domain Mapping Settings to choose the OTHER PHP VARIABLE as suggested in your plugin
$_SERVER[“HTTP_HOST”]But again, this did not solve the issue. GolfGage.com always points to the Homepage of MapGage (just as the A NAME settings tell it to do. But your plugin does not do the internal redirect)
Any idea what else we can try??
Thanks in advance
Rod
- The topic ‘Multi Domain Plugin not working’ is closed to new replies.