[wp-hackers] Multiple installations with same tables

Andrew Nacin wp at andrewnacin.com
Fri Aug 27 20:57:37 UTC 2010


On Fri, Aug 27, 2010 at 4:12 PM, Vinicius Massuchetto <
viniciusandre at gmail.com> wrote:

> 2010/8/26 Jacob Santos <wordpress at santosj.name>:
> > Hmm, that is a good question. I would have to look at how the functions
> and
> > what modifications were made for Multisite.
>
> I'm quite stuck on this. I tried to modify some variables into
> $wp_query and other places. Does anyone knows if it's possible to
> instantly control the domain name through the init, wp, or any other
> hook on multisite? If it is, what do I need to change?
>

You'll want to look at wp-includes/ms-settings.php, which can be overridden
in wp-content/sunrise.php. Or look at one of the multi-network / domain
mapping plugins.


More information about the wp-hackers mailing list