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