Articles of staging

Clone plugins (and settings) to new installation?

Is it possible to clone the plugins and settings from a WordPress site to a new fresh install? I don’t want any of the content from the original site I just want all the plugins used and their settings. Just ftp’ing the plugins into the new install doesn’t work. It’s really important that all the […]

Staging Site: Made Public – Security Questions

Previously, our staging site has been locked down to local access only. We hired a third party developer to assist with resolving a theme via our ‘local staging server’ remotely. In order to grant them access, we made the staging server resolve externally with an A record in the DNS to the staging subdomain. From […]

What actions affect files, DB, or both?

I’m looking into setting up a development -> staging -> production workflow, and the biggest issue so far is figuring out how to sync the databases. To this end, I’m trying to figure out exactly which actions will affect the filesystem, the database, or both. Here’s how I think it works. Please correct me where […]

Ways of managing staging and production wordpress sites?

Ok, I’ve seen a lot of similar questions.. but they all either outdated or do not fall in in my problem. So the problem is: We have a website and its clone stage website. On that website, apart from me also works Content Manager. She manages content(banners, text, gallery and so on) When we need […]

How do you add pages on a staging server, and then move them over to production

Here is just one of a couple of scenarios where this could come up. Let’s say you add a plugin on your development server, which requires a wordpress page to do its magic. There are a couple of problems. There is no easy way to move the page over to production. The pages and posts […]

Change management solution for BP-based site?

I administer a social networking site that runs on WP, BP, and WP Multisite. Currently I have two servers: development and production, but I plan to move to three: development, staging, and production. Is there some piece of software out there that will allow me to push changes from development to staging, and staging to […]

Maintaining synced staging/production WP sites

This is a more general question about WP website best practices. An issue I encounter with many of my clients is maintaining two identical WP installs (staging and production). They insist on seeing changes before they go live. However, with WP’s structure, that would involve constantly clearing and re-importing databases in addition to updating theme […]

Staging a WordPress site with WP-Deploy

I am testing WP-Deploy, but can’t get it work. I follow the steps in the docs but for some reason when I execute $ bundle exec cap staging wp:setup:local INFO [b4d7f211] Running /usr/bin/env wp core install –url=’http://localhost/blog’ –title=’TITLE’ –admin_user=’YYYY’ –admin_password=’YYYY’ –admin_email=’YYYY’ on INFO [b4d7f211] Finished in 0.054 seconds with exit status 0 (successful). ========================================================================= WordPress […]

Staging sites, how do you manage synchronising updates in the DB?

It is broadly accepted that developers should test updates through a staging site before releasing them to the live server, however once the development updates require modifications in WordPress DB, things get complicated, as users in the live site will update the DB too. The only (muddled) flow I can imagine is the following: Test […]

DB connection error after copying a WordPress Multisite instance to a second location

Here’s my setup. I have a Multisite instance running at http://example.com, and I want to do development and staging. Moving an existing Multisite instance of WP onto localhost is a nightmare, so I’m going to do dev on a staging location instead. I set up http://staging.example.com to point to the /public_html/staging/ directory of the hosting […]