Well if you want to do this right, you would have one database for development, one for staging and then the live database. It’s just that WordPress is not designed to live with such commons in software engineering.
The component I still see publicly missing is a complete migration script that is able to convert all wordpress settings and data in the database from one domain to another as the domain names are “hardcoded” into posts and buried in multiple (often serialized) option values.
As long as you’re concerned about the few options you listed only, you can hook into pre_option_...
filters and change those based on your setup. You could write a define into your config file and change the values accordingly. This might work with multisite setups as well as you’re filtering the actual values from the database.
Is this a direction?
Related Posts:
- How to run a test WordPressMu to WordPress3 update?
- How to: Easily Move a WordPress Install from Development to Production?
- Can we use one WordPress installation for multiple databases, domains and content directories
- .maintenance and maintenance.php also in multisite install?
- global menus made from master site’s custom menus wpmu network
- Can You Export Theme Settings From WordPress Multisite?
- Maintaining synced staging/production WP sites
- WordPress Multi Site Best Practice
- How do you add pages on a staging server, and then move them over to production
- Suggestions for WPMU Migration (advanced)
- WordPress Network Feature
- Multi-Site Plugin Activated (Not Network-Activated), What Happens?
- Custom column under All Users (multisite network admin)?
- Syncing Avatars across multisite
- Why would switch_to_blog stop working?
- How to insert a sitemap within a subsite when using WordPress multisite
- Add custom user profile field to default WordPress MultiSite registration form
- Turn off redirect to canonical domain (or host website on any hostname)
- What changes we need to make to a theme so it can be installed as a MU Theme?
- Multi Site installation inside a sub domain inside a sub directory
- Showcase elementor templates
- Create custom dashboard for Multisite admins
- One WordPress Installation for 2 Domains
- How can I create a second multisite network in a subdirectory?
- Manage multiple domains from one backend
- Static admin page for all multisite users
- Redirect to another page using contact form 7? [closed]
- One WordPress install for main site at domain.com and blog at blog.domain.com?
- What is the best way to move a single site from one MS installation to another? [duplicate]
- Multi-site User Sessions
- What happens to the mu-plugins folder when you upgrade to WordPress 3?
- In WordPress 3.x, I can’t access posts from all blogs in the network
- I w’d like to know If there are simple solutions to integrate other CMSs to wordpress
- Add the site’s name as prefix when adding new users? Multisite
- Open “Visit site” in a new window?
- Allow multisite admins only to create users with one specific user role?
- Prevent Multisite from creating sample page, sample post and sample comments
- How to have multiple WordPress Menus
- Create new network instance, import old single installs AND keep the urls?
- How to do multi site setup
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- how or where wordress collect unlogged user session
- Global theme customization multisite
- Multisite with subdirectories, and a WordPress installation in a custom folder
- website is not loading home page (moving from one server to another server)
- Is MultiSite the Correct Solution for a Corporate Site with Searchable Regions?
- How should I design subcategory login site?
- How to have differents sites share the same tables of DB?
- Add button to My Sites dashboard page (multisite)?
- Create page when a new site in multisite network is created?
- Get site ID from attachment url?
- Multi-site customization
- Creating WordPress staging environment software
- Created Custom Block – When I come back to edit post/page and change my block content – Update button stays disabled
- Hook before user is created and make some custom validation
- I found this code to be very useful, how can I change it to a text that display “Product versions and period of last update” rather than a button?
- How do I make Dynamic Student Admission Form?
- WP Search Form Query: Add Author’s posts into search query
- Prevent WordPress from automatically installing a new theme each year
- Dynamic Sections
- Creating a “Delete”-Button for Metadata userspecific
- Change default Video Player without Plugin
- Changing update message from Newspaper child theme
- Custom default settings for WP native Gallery Block
- Add custom border across footer widget area
- Make the home page template my archive/category page template without code duplication
- Don’t update modify time post on Quick Edit
- Is it possible to auto sharing post on social network from specifc categories or tags
- How to show parent taxonomy using get_the_terms?
- wp_insert_post custom taxonomy multiple Category not added
- Custom menu not showing even though it shows as being registered?
- Open login logo URL in new tab
- Get custom text if in Category
- How to change the login page without a plugin and not only customizing logo and text around the form?
- Conditional Logic on CF7 dropdown options
- Customizing woocommerce product page
- query variables for custom taxonomies
- Change admin_title of a plugin using code snippet/functions
- How to make WordPress search page use a relative path
- Create Miltiple Category Base
- Removing “Failed” query argument upon successful login
- Validate user login in php
- How to get Previous Visited Page Information
- Hide fields in woocommerce settings
- Select input in metabox not updated
- How to add Custom Css within the Editor?
- Woocommerce custom archive page custom content and shortcode
- optimal taxonomy or custom post types
- Page flickers in customization mode
- WordPress search on a custom table
- export and import wordpress customization
- Custom field not editable by the user
- Will WordPress updates remove Gutenberg Additional Classes?
- WordPress category custom title
- How to create multipage form and redirect to specific URL based on inpput?
- WP_Query – sort the results by meta value custom attribute wocoomerce
- Embed Latest Track (Dynamic Updating) SoundCloud
- No plugin populate user information in to form
- Adding overlay search to wordpress using add action/filter
- wordpress custom fields loop