[wp-hackers] Multisite Remote Database

Dion Hulse (dd32) wordpress at dd32.id.au
Mon Apr 11 23:22:42 UTC 2011

by the sounds of it, You're trying to use the same database and tables on
the live as the test site?
If so, the only possible way that you could be getting a redirection should
be through the canonical code, and even then, it won't cause a infinite
redirect, nor will it redirect based on hostname.

Try defining WP_SITEURL & WP_HOME for the local install since it's URL
differs to that in your database.. see how you go..

On 12 April 2011 07:40, Brian Layman <wp-hackers at thecodecave.com> wrote:

> On 4/11/2011 2:58 PM, Andy Charrington wrote:
>> I am trying to set up a test environment for a multisite install and
>> figured
>> that the most realistic tests would be when done with actual data from
>> from
>> the target site. So...
>> Would somebody mind explaining and/or pointing me in the right direction??
> Leaving port 3306 wide open is generally a bad idea.  You'll eventually be
> hacked or have a slow mysql server due to all the servers out there
> continuously trying passwords.
> What you are trying to do will work. IF you really want to do this test,
> figure out your hostgator IP address and then contact wired tree and then
> can setup a iptables rule to open 3306 for only that server on your vps.
>  Additionally you'll need to make sure that you are able to make the out
> bound connection from the hostgator side.  It is likely blocked by default.
>  If you have ssh access on your host gator account, I would use mysql from
> the command line to make sure that part is working before trying to diagnose
> more wide ranging issues.
> Beyond that you'll need to post to the support forums for help with a
> better definition of what you mean by an infinite loop...
> Hope that helped.
> --
> Brian Layman
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list