WordPress Staging Site

I fear that there does not exist an answer that is going to make you happy. There is no (easy/good) solution for this problem. In most cases, the production (staging) environment does only touch the code (FTP-files) of a WordPress website, while the live version makes changes to the database (e.g. adding content to it). … Read more

Using second site as staging area

I just set up a dev.domain.com subdomain and mirror everything there, doing a find/replace on the sql export for www > dev, and of course changing wp-config. I used to have a staging server I mirrored things on, but I’ve since learned that a change in length of the domain name will invalidate any serialized … Read more

Staging a WordPress site with WP-Deploy

First off, you need to set your global WP settings under the “WordPress” heading in config/deploy.rb: set :wp_user, “aaronthomas” # The admin username set :wp_email, “[email protected]” # The admin email address set :wp_sitename, “WP Deploy” # The site title set :wp_localurl, “localhost” # Your local environment URL These are the settings used for your inital … Read more

WordPress database synch between dev and prod

The reality is that what we want is this: http://www.liquibase.org/ Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. However our development process … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)