Return to Snippet

Revision: 11389
at February 3, 2009 21:26 by philiph

Initial Code
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

Initial URL

Initial Description
paste it in wp-config.php and make sure the prefixes are right (wp_* is default) 
also the blogs must be installed on the same database with different prefixes.

For example, you might have a primary blog with the table prefix wp_ on the database wordpress_blog and you install a new blog on the same wordpress_blog database but with a different prefix (this is important) - you can share the the primary blogs already populated user tables (in other words a shared login).

Initial Title
Shared login in Wordpress

Initial Tags
database, wordpress

Initial Language