Moving a WordPress site? Don't run MySQL REPLACE() on the old URL.
Some settings are stored as serialised PHP, with string lengths baked in. Change the URL without updating those lengths and things break.
Use wp search-replace instead. Back up first and try --dry-run.
顯示更多