Define blogname on config.php
-
[ Moderator note: moved to Fixing WordPress. ]
I need help, I want to build 2 websites with one database, I want them two to contain the same pages, posts, settings etc. The differents should be: site names, domains (of course) and files (I want 2 wordpress system files based on one database).
For example:
first.com – Site name will be “First”
second.com – Site name will be “Second”and they will have the same content, posts, pages, settings, addresses.
I added this code to my SECOND site on config file:
define('CUSTOM_USER_TABLE', 'wp_users'); define('CUSTOM_USERMETA_TABLE', 'wp_usermeta'); define('WP_HOME', 'http://second.com'); define('WP_SITEURL', 'http://second.com');Everything is great, but they have the same blogname (took from the database), how can I define another blog name for the SECOND site from the config file?
HELP HELP HELP 🙂
The topic ‘Define blogname on config.php’ is closed to new replies.