If you’re still using the
.dev TLD for development you need to stop. If your old sites still use it you need to update them, especially in instances where you’re not using self-signed certificates for development.
vagrant upyour development environment
vagrant sshinto the box
- Navigate to the current folder
- Use WP-CLI to take a backup
wp db export before-tld-change.sql
- And use it to do the search/replace of the DB
wp search-replace //example.dev //example.test(add
--dry-runif you want to test it first)
- Exit the SSH session
trellis/group_vars/development/wordpress_sites.ymlto use your new
vagrant provisionto re-build your development box. This will not effect your existing database or uploads.