Is there Multiple blogs, and each blog uses multiple WordPress blogs? Are you bored with repeated upgrades and installation of plug-ins? If yes, have you ever tried to install one WordPress so that it can be used by Multiple blogs? Next I will talk about how to implement a WordPress installation and use Multiple blogs together.
Step 1:Specify all domain names to the same WordPress installation directory.. In this way, all blogs can be installed using the same WordPress.
The second step involves two situations:
The first is to use different databases.OnlyYou need to add the following at the beginning of the wp-config.php FileCode:
test $ hostname = $ _ server ['HTTP _ host']; switch ($ hostname) { case " fairyfish.com ": $ db = " db1 "; Break ; case " denis.fairyfish.com ": $ db = " DB2 "; Break ;} // ** MySQL settings ** // define ('db _ name', $ dB ); // The Name Of The database