WordPress.org

Support

Support » How-To and Troubleshooting » Logging into Multiple Blogs

Logging into Multiple Blogs

  • just wondering

    @just-wondering

    I tried to find an answer to this by using search, I thought I’d seen an answer before but I can’t find it, sorry.

    I want my authors & me to be able to use the same name & password to log into multiple blogs.
    All the blogs are on the same host and under the same domain name but they are in different subfolders.

    Is there away a user can log into different blogs and have just one place to manage his name & password.

    Thanks
    SJ

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    You can make multiple WordPress blogs share the same user tables, as long as they are all sharing the same database with different prefixes.

    Add two lines to the wp-config.php in each installation:

    define('CUSTOM_USER_TABLE','wp_users');
    define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

    This will make them all have the same user information.

    just wondering

    @just-wondering

    Thanks
    I’ll give it a try, the bad news is that I have to reinstall my blogs, the good news is that there is a way to do it. I’m in Florida if you hear me scream you’ll know I screwed up and hurts.

    Thanks Again
    Have a good one

    Well, the situation you are describing is exactly what WordPress MU was developed for. Since you need to reinstall the blogs anyway, why not start with a MU installation?

    just wondering

    @just-wondering

    Well I heard that was for those who are not “faint of heart”, quoting Lisa Wilson.

    But you know, that is right, I may give that the old fashioned college try.

    That may even make up-dates a lot easier and that would be a blessing.

    Thanks
    SJ

    Interesting tip Otto42. I may try that.

    just wondering

    @just-wondering

    Dgold, it works, my only problem is that a user must be assigned a role for each blog and cannot sign into another blog until they are assigned a role in that blog. BUT IT IS STILL A LOT, LOT, LOT EASIER than entering a person over and over in each blog and people having to keep track of multiple passwords.

    As a note my hosting service would not change the rewrite_module for me. However it may already be at the needed path already. But I can’t change the server alias for MU so I guess I won’t use it for now.

    SJ

    You can make multiple WordPress blogs share the same user tables, as long as they are all sharing the same database with different prefixes.

    Add two lines to the wp-config.php in each installation:

    define(‘CUSTOM_USER_TABLE’,’wp_users’);
    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    This will make them all have the same user information.

    To understand about having two blogs using the same database doe sthis mean that if I change the wp_ to something like blg_ that it will create seperate tables in the db for the other blog?

    define(‘CUSTOM_USER_TABLE’,’blg_users’);
    define(‘CUSTOM_USER_META_TABLE’, ‘blg_usermeta’);

    Thanks

    I went ahead and changed the prefix in the appropriate location in the wp_config file (not this example talked about) and it made seperate table s like I wanted.
    I get tangled in the question some times. My bad, not perfect.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Logging into Multiple Blogs’ is closed to new replies.