I use this line when WP-cli is available to replace the URL in the database in all objects, included serialized data:
wp search-replace 'http://example.com' 'http://example.dev' --recurse-objects --skip-columns=guid
I use this line when WP-cli is available to replace the URL in the database in all objects, included serialized data:
wp search-replace 'http://example.com' 'http://example.dev' --recurse-objects --skip-columns=guid