Move Wordpress to new server with new domainwordpress
- Backup all file system
- Backup database
- Replace old domain to new domain in backup database file
- If the home directory is different on new server, we need to replace the home directory value in database file as well. Also we need to use grep to find hardcode in backup files and fix it.
Note: We still loss our theme customize data. We need to keep the old website to help setting the new one.
Written on October 2, 2017