WordPress.org

Support

Support » How-To and Troubleshooting » How to have 10 blogs and 1 user database?

How to have 10 blogs and 1 user database?

  • Hi there, i have a little problem with coding wordpress. I have like 10 blogs with different languages and different databases, templates … like

    us.blog.com
    es.blog.com
    fr.blog.com

    ….

    jp.blog.com

    and i want whenever somebody register to one of them, to have certain rights in every blog.com website. I have 10 databases like

    db.us.blog.com:3306‎ … db.jp.blog.com:3306‎

    and i want that even jp.blog.com retrieve user data from

    db.worldwide.blog.com:3306‎

    I have seen this link http://codex.wordpress.org/Editing_wp-config.php#Custom_User_and_Usermeta_Tables

    define(‘CUSTOM_USER_TABLE’, $table_prefix.’my_users’);
    define(‘CUSTOM_USER_META_TABLE’, $table_prefix.’my_usermeta’);

    but what this does is just looking in the same database. Any help? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    It sounds like you need a multisite network

    this is a plug in? is it safe? because i don’t like unsafe wordpress sites …

    Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    Multisite is a core feature built into WordPress.

    I have installed multiple WordPress Multi-sites… so, if you need any help, let me know!

    If you would like to try it yourself, just check out the “Create A Network” page in the WordPress Codex.

    ok, i had this idea, what if i put all my websites on one host, and put

    i have putted in my wp-config.php those 2 lines

    define(‘CUSTOM_USER_TABLE’,’wp_worlwide_users’);
    define(‘CUSTOM_USER_META_TABLE’,’wp_worlwide_usermeta’);

    and when i try to login wp tells me

    “Cheating uh”

    What’s the problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to have 10 blogs and 1 user database?’ is closed to new replies.
Skip to toolbar