Home I need two website one database?
Reply: 1

I need two website one database?

O E Published in 2017-12-07 22:24:06Z

i have a hosting and wordpress design and want to know how to make 2 websites use
just one database ? can anyone help me, do i have to change the wp_options ?

$table_prefix = ‘wp_’;
define(‘CUSTOM_USER_TABLE’, $table_prefix.’global_users’);
define(‘CUSTOM_USER_META_TABLE’, $table_prefix.’global_usermeta’);

define(‘WP_ALLOW_MULTISITE’, true);
Siggy Reply to 2017-12-07 22:28:16Z

You can use the same "wp-config" when you want to "mirror" the page. If you simply want to host two WordPress websites from the same database you need to change the $table_prefix in the "wp-config".

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.377658 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO