Hi all, we’ve been running a “standard”, in terms of directories for plugins, content, etc. It seems that the Bedrock-based install is the way forward. (In addition to being a more contemporary and logical approach.)
We use a development server that mirrors our production server and do migrations a few times per year. Rsync for file transfers and dumped database. Import database and search and replace DB for domain.
It seems that a similar approach could be used for a shift to Bedrock based with the addition of searching and replacing paths as well.
Has anyone had experience with this kind of migration? Any gotchas to work out? Luckily we do have the dev server to test a migration, but good advice is always helpful.
In my case, I’m used to using the MariaDB routines to migrate databases, however these processes will use wp-cli processes. (Probably these are just wrappers around the MariaDB routines anyway.)
I’ll test and report back how things go. I’m sure there are some “gotchas”, there always are.
Again, if anyone has some warnings for me I’m happy to receive them.
This is Ho Man from the Pressbooks Operations team. I think you’re on the right path. One issue I foresee is mapping your uploads path. Depending on your current setup, and as noted here: https://roots.io/bedrock/docs/converting-wordpress-sites-to-bedrock/, the process should automatically handle the database path mappings.
Below are the core issues to look out for if they are not automatically resolved:
Update file path references from wp-content to app
Adjust plugin and theme paths to match Bedrock’s structure
Ensure upload paths work correctly with the new organization
Verify that WordPress core references point to the correct locations
If you run into any issues, please feel free to tag me and share any additional details or screenshots. I’ll be happy to take a closer look and help troubleshoot.
Thanks very much for the followup Ho Man. I’m just getting ready to dig in. There are a few things that I’m taking some time to think through. We have some regular plugins we can pull from wp-packagist, premium plugins we have to arrange for and a few smaller utility plugins we wrote ourselves.
Just thinking through the best route for each of these. I’m only with the project for a little over two months and I don’t want to leave the next person a mess.
Anyway, thanks for the advice, I’ll let you know how it goes. (Especially if it goes poorly