I am updating an existing Wordpress site , making significant changes to the theme and structure of the site, as well as updating plugins, which in turn store their data in the mysql database.
As far as I know, there are 2 (3?) Possible options here:
- MySQL Dump-and-load database from DEV to LIVE and replacing the wp-content folder with the latest updates.
- Import changes through the WP importer and replace the wp-content folder with the latest updates.
- Make changes to the database manually through the WP admin interface and replace the wp-content folder with the latest updates (this is only useful for minor changes).
While I am developing in my own separate environment, this is for an existing website that is currently living and will continue to receive updates from the public, such as comments and posts, in contact forms, so I expect the database to be different from when I'm letting go of my changes.
The above options provide the following issues.
1. DUMP AND LOAD
The dump and load strategy seems out of the question since my data is being updated backstage (this would be my preferred approach since it is easy to roll back).
Result: you need to synchronize the databases after release in order to receive the latest updates, TOO FIT.
2. USE IMPORT
Using the WP-Importer plugin and updated message identifiers will be updated, screwing a style that depends on the message identifiers to activate them. This, in turn, creates a CSS nightmare that I want to avoid, I have to go through CSS after release to update the new page / post IDs with the ones the database created.
Result: too complex, not very professional approach, leading to a long and complicated release process.
3. DATABASE UPDATE STRONG
This option is great for small changes, but when for more complex releases the list of steps to follow on the PROD interface becomes long and difficult to complete, making mistakes easy.
Result: Too easy to screw in, only as a last resort.
IS A STANDARD STRATEGY FOR STRATEGIC PERMISSION FOR EXISTING WEBSITES?
So, basically, my question is: what is the release process that other Wordpress developers are doing following the upgrade of an existing website? Is there an option that I have not listed below that minimizes problems and reduces time and complexity during release?
I installed the control source for the site using GIT, and I'm used to automating things through ANT or a similar version of the script, this may be redundant for the current project, but it will be ideal at least to know an easy way to update the wordpress site and minimize the chance of screwing it .
Thanks!