WordPress.org

Ready to get started?Download WordPress

Forums

How to have 10 blogs and 1 user database? (6 posts)

  1. empeus4
    Member
    Posted 2 years ago #

    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.

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    It sounds like you need a multisite network

  3. empeus4
    Member
    Posted 2 years ago #

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

  4. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Multisite is a core feature built into WordPress.

  5. Parker
    Member
    Posted 2 years ago #

    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.

  6. empeus4
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic