Staging Site: Made Public – Security Questions

Whether or not you lock down a staging site really depends on how much you mind the public accidentally seeing a site that’s a “work in progress”. I’d usually consider it more of a branding decision than a security decision. (This of course wouldn’t apply if you’re in the middle of developing a secure application … Read more

Different color admin bars for dev, staging and production

You can use a filter to set the admin color scheme, which includes colors for the admin bar: <?php // add a filter add_filter(‘get_user_option_admin_color’, ‘wpse_313419_conditional_admin_color’); // function wpse_313419_conditional_admin_color($result) { // Dev: use ‘light’ color scheme if(get_site_url() == ‘http://dev.example.com’) { return ‘light’; // Staging: use ‘blue’ color scheme } elseif(get_site_url() == ‘http://staging.example.com’) { return ‘blue’; // … Read more

What actions affect files, DB, or both?

Registering a new user – database Adding a post or comment – database Changing to a new theme – database(yes) Changing a theme’s settings – database Installing or removing a plugin – file system,database Activating, or deactivating a plugin – file system,database Updating a plugin – file system and database (DB structure may change if … Read more

How to run a test WordPressMu to WordPress3 update?

In this situation, I’d recommend the following: Dump your production database into your test database Install WP 3 and point it at your test DB Run the database upgrade Turn users loose on the test instance We used a similar process on a much larger installation, and it worked fairly well. Having the second instance … Read more

Change management solution for BP-based site?

There is no settled solution for change management in a WordPress environment. I recently wrote about one approach, that might be helpful. @scribu then brought our attention to this new ‘Ramp’ offering for content staging. which might be of interest, depending on your use case. @MikeSchinkel has his own potential solution which doesn’t attempt to … 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