Unique Features – wp-config.php Question
-
I’ve searched for answers but I don’t know if I’m using the right keywords or if it is just a silly idea or no one has addressed this customization.
I have a VPS running Apache using cPanel and for this example two accounts within that environment I’m working with.
Account 1 has domain1.com as an addon and is using SA WordPress, however also utilizes SSL and WHMCS in the backend for billing etc.
Account2 has domain2.com as an addon and is using WPMU with ~100 domains parked on the account and mapped to the network.
Account 2 has every website on the network so I can develop plugins and functionality as well as manage all the sites and content from one set of files and database, the magic of WPMU.
I would like to keep domain1.com intact with account 1, however the primary website localized on account 2 and the MU network.
My thought was that a customization on domain1.com wp-config.php to define the database on account2, specific to it’s site id, and define the absolute path to account2 WPMU installation would allow me to run domain1.com from account 1 while utilizing the MU on account 2 at domain2.com
I have researched and really couldn’t find much on how to accomplish what I would like and this seemed like a possibility. Other ideas included .htaccess to do some crazy ninja rewrite but I can’t really find something that even looks like it would do what I want without having to go through a lot of trouble and move stuff which I would prefer to avoid.
I should also note that domain1.com ssl is only necessary for the billing software so while content from the primary site might be pulling from account 2, non SSL, it doesn’t impact what I hope to accomplish.
I apologize for being so long and hope I was clear on everything ??
Thanks!
- The topic ‘Unique Features – wp-config.php Question’ is closed to new replies.