Hi @k1mz
The plugin allows you to point website2.com to any page (or group of pages) on website1.com.
tnx @maartenbelmans
Is there a limit to the number of domains we can create?
There is no limit imposed by us at this time.
To create new sites, whether they are subdomains or dedicated domains, can a dedicated database be created for each site?
Hi @k1mz
If you want a dedicated database per domain, it sounds like you want a Multi-site setup instead.
Can I specify a separate database in wp-config.php so that each site uses the same database?
if (isset($_SERVER[‘HTTP_HOST’])) {
switch ($_SERVER[‘HTTP_HOST’]) {
case ‘Web1.com’:
define(‘DB_NAME’, ‘db_Web1.com’);
break;
case ‘Web2.com’:
define(‘DB_NAME’, ‘db_Web2.com’);
break;
case ‘Web3.com’:
define(‘DB_NAME’, ‘db_Web3.com’);
break;
default:
define(‘DB_NAME’, ‘db_default’); // Default database
break;
}
}
Hi @k1mz
No that is not possible. In fact, I don’t think there’s a plugin out there that does this. Maybe it exists on the server level, I am not sure.
I asked the AI and it gave me a solution:
First, I activate Multi WordPress,
then I install your plugin,
and before creating the domain, I put the code I sent into the wp_config file.
Have you ever tried and tested this method?