[wp-hackers] Wordpress in Multiple Environments

Mike Schinkel mikeschinkel at newclarity.net
Mon Jan 17 05:58:17 UTC 2011

On Jan 17, 2011, at 12:40 AM, Ryan Bilesky wrote:
> My guess is the uploads get the domain from the siteurl setting, as long as
> that's set to the production site url then the uploads work fine, then when
> being outputted you use andrews code to rewite the links, being that
> directory structure should be the same that would work.

If that were the case then I'm pretty sure attempting to load the staging site would redirect to the live site. Output buffering would not affect that logic.


More information about the wp-hackers mailing list