[wp-hackers] Wordpress in Multiple Environments

Eddie O'Leary eddie at teamcolab.com
Sun Jan 16 21:05:10 UTC 2011


So I am fairly sure I am bringing up an old discussion here.  Sorry if I am.

I have several high traffic WordPress websites that have local, staging, and production environments all tied together with a git repository on github.

Ideally, any changes I make locally are tested and then pushed to staging which will show up at staging.mysite.com.  Once the changes have been evaluated on staging they are pushed to the live environment.

I am running into the traditional problem of the absolute links created by the WordPress media library.  I would like to be able to pull the production database down to staging for testing and not have to search and replace the database for links.

My first thought it to create a media.mysite.com and force all my environments to put files there.

Another solution I am considering is using the W3 Total Cache plugin to put all the media files on the Rackspace Cloud CDN.  All of our media files would be located in one spot, theoretically, eliminating my permalink issues for images and PDFs uploaded via the media library.

I would appreciate any feedback you all have on this.

Thanks,

Eddie

Eddie O'Leary
Web Developer
CoLab Multimedia

-Sent from my iPhone


More information about the wp-hackers mailing list