WordPress.org

Forums

Logging into Multiple Blogs (9 posts)

  1. just wondering
    Member
    Posted 6 years ago #

    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

  2. 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.

  3. just wondering
    Member
    Posted 6 years ago #

    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

  4. NC@WP
    Member
    Posted 6 years ago #

    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?

  5. just wondering
    Member
    Posted 6 years ago #

    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

  6. Dgold
    Member
    Posted 6 years ago #

    Interesting tip Otto42. I may try that.

  7. just wondering
    Member
    Posted 6 years ago #

    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

  8. orion7x
    Member
    Posted 6 years ago #

    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

  9. orion7x
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic