[wp-hackers] creating blogs across several installs
jbloch at olympianetworks.com
Mon Apr 12 14:04:05 UTC 2010
I'm not the most knowledgable on this, but (and this may only apply to wp 3.0, since I don't know how MU works) I think you can just redefine the table prefixes in each install so that you have all of them running on the same DB. Then you would just declare a shared user table w/ a config.php constant, pick one of the user tables, and go from there.
Does anybody know if this would work?
On Apr 12, 2010, at 9:57 AM, Nuno Morgadinho wrote:
> I have 5 WPMU installs (with different IP addresses and domains). When
> the user signs-up and creates a blog I would like to additionally
> create a blog in each of the WPMU installs. I thought about two
> possible approaches for this:
> 1) write directly into the database (the installs all share the same
> database server)
> 2) make a http request to each MU that will then handle the request
> and write into the db
> Would you rather go for 1 or 2? And is there some work done already in
> this front of creating blogs across several installs?
> Nuno Morgadinho
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers