https://sangkrit.net/powerful-wordpress-plugin-that-automatically-detects-change-of-domain-name-and-updates-database-tables-so-you-can-easily-migrate-your-website/
Powerful WordPress Plugin That Automatically Detects Change Of Domain Name And Updates Database Tables So You Can Easily Migrate Your Website