issues with a double installation of WordPress
-
I have a question about running two WordPress installs with one database.
I had a previous install in the root on my server for this website:
https://www.hecate.caThe I installed a second one in a subdirectory at:
https://www.hecate.ca/ikThe weird thing is when you click a link on the secondary web, it load the template from the root web and gives a 404 error.
Here is the congif fle info for the first installation:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘######_######’); // The name of the database
define(‘DB_USER’, ‘####_####’); // Your MySQL username
define(‘DB_PASSWORD’, ‘####’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>Here is the congif fle info for the secondary installation:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘######_######’); // The name of the database
define(‘DB_USER’, ‘####_####’); // Your MySQL username
define(‘DB_PASSWORD’, ‘####’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘ik_’; // Only numbers, letters, and underscores please!// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>Any advice would be welcome. I really don’t want to go through the process of moving the original web to a subdirectory…
Cheers,
lanval
- The topic ‘issues with a double installation of WordPress’ is closed to new replies.