two blogs with separate SQL database on one server
-
I have 2 separate databases for two blogs— https://www.remanents.com/blog (database=xxxx_wordpress) and https://www.thank.you.cards.remanents.com (database=xxxx_wordpressty).
I can’t access the admin panel (www.remanents.com/blog/wp-login.php) as there seems to be a redirect happening to the https://www.thank-you-cards.remanents.com url and it keeps looping back w/ login.
guessing it has something to do w/ wpconfig files. I used service called “managewp” to create the 2nd blog installation files so I now can’t ftp and change, delete/re-install the wp files.
wpconfig for “blog”:
‘<?php
// ** MySQL settings ** //
define(‘WP_CACHE’, true); //Added by WP-Cache Manager
define(‘DB_NAME’, ‘xxxx_wordpress’); // The name of the database
define(‘DB_USER’, ‘username’); // Your MySQL username
define(‘DB_PASSWORD’, ‘xxxxx’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
define( ‘CONCATENATE_SCRIPTS’, false );
define(‘FTP_USER’, ‘username’);
define(‘FTP_PASS’, ‘xxxxx’);
define(‘FTP_HOST’, ‘ftp.xxxx.com’);// 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-content/languages.
// For example, install de.mo to wp-content/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’);
?>’wpconfig for “thank-you-cards”:
‘<?php
// ** MySQL settings ** //
define(‘WP_CACHE’, true); //Added by WP-Cache Manager
define(‘DB_NAME’, ‘xxxx_wordpressty’);
define(‘DB_USER’, ‘username’);
define(‘DB_PASSWORD’, ‘xxxxx’);
define(‘DB_HOST’, ‘localhost’);
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
define( ‘CONCATENATE_SCRIPTS’, false );
define(‘FTP_USER’, ‘username’);
define(‘FTP_PASS’, ‘xxxx’);
define(‘FTP_HOST’, ‘ftp.xxxx.com’);// 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-content/languages.
// For example, install de.mo to wp-content/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 appreciated.
- The topic ‘two blogs with separate SQL database on one server’ is closed to new replies.