[wp-hackers] Multiple installations with same tables

Vinicius Massuchetto viniciusandre at gmail.com
Wed Aug 25 17:37:08 UTC 2010


2010/8/25 scribu <scribu at gmail.com>:
> On Wed, Aug 25, 2010 at 8:08 PM, Vinicius Massuchetto <
> viniciusandre at gmail.com> wrote:
>
>> I run a server with multiple git projects as WP installations. I want
>> developers to be able to clone these repositories and have them
>> working in their localhosts connecting to the same tables that the
>> original project does, once the development strictly depends of the
>> contents of this database.
>>
>
> Just set the DB related constants in the wp-config.php file to the same
> database.
>
> The DB_HOST will have to point to your db server, which has to be configured
> to accept remote connections.

I'm afraid it's not just that. The installation keeps creating remote
permalinks and redirecting to the remote site. It gets even worse if
using multisite.

Thanks.
-- 
Vinícius Massuchetto


More information about the wp-hackers mailing list