If I wanted to have a multisite running off 1 database, but the sites to have there own content. I would have to run the sites with there own table prefix’s, but since the user base will remain the same that table prefix throughout the sites.
Where do I change the table prefix for users and usermeta in wordpress? but keep the table prefix the same for the content?
Create the wp-config.php for your second blog, using the same DB Connection information.
You also need to set AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY, and the CUSTOM_USER keys to the same value as the first. You will also need to set $table_prefix to a unique value.
Install the second blog and instead of getting a random password for the admin user, it should tell you that it found the user and is using that password.
Repeat steps 2 and 3 until all blogs are successfully installed.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Editing the wp-settings.php to refelect certain table prefix's’ is closed to new replies.