[wp-hackers] Wordpress in Multiple Environments

Bjorn Wijers burobjorn at gmail.com
Mon Jan 17 17:20:24 UTC 2011

Why does WordPress stil save full urls in it's database? Without that we 
would not need any of the 'solutions' discussed and could just change 
the wp-config to whatever it needs to be and build urls from that.

I know, I'm flogging a dead horse, but he when an issue comes up every X 
days we might have an issue to solve...

met vriendelijke groet,
Bjorn Wijers

* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship

Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.

Concordiastraat 68-126
3551 EM Utrecht
The Netherlands

tel: +31 6 49 74 78 70

On 01/17/2011 07:00 AM, Dion Hulse (dd32) wrote:
> Output buffering, Production siteurl, and a few filters on site_url and
> friends is the "standard" way of achieving it from the better setups I've
> seen recently. Unfortunately, I dont have any code handy or anyone to direct
> you to right now for it, but i've seen it done very well a few times, As
> long as you understand how WordPress outputs content, and stores it in the
> database, everything works sweet.
> On 17 January 2011 00:58, Mike Schinkel<mikeschinkel at newclarity.net>  wrote:
>> 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.
>> -Mike
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> 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