Clone plugins (and settings) to new installation?
Usually blog settings, sidebars and plugins option are located in wp_options table. If you copy whole table except option_name IN ( ‘siteurl’, ‘home’ ), You get whole “old” configuration.
Usually blog settings, sidebars and plugins option are located in wp_options table. If you copy whole table except option_name IN ( ‘siteurl’, ‘home’ ), You get whole “old” configuration.
Best Practice for Syncing Local Development With Staging Development [closed]
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
There’s a good article at WP Tavern that suggests some good methods. There is also a plugin called WP Pusher. With regard to using the different domains, like dev, staging, production, etc. you could set up different remote repos for dev, staging, production, etc. And then you can push to them individually depending on what … Read more
Seems like a good list you have going… Just a few that come to mind: SCRIPT_DEBUG to false on live and true on staging. WP_CACHE to true on live and false on staging. ping_sites to empty on staging to disable ping services. default_pingback_flag to 0 on staging to not send outgoing pingbacks. Maybe install a … Read more
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
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
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
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
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