Moving WordPress is fairly easy, but it needs careful attention. The key point of WordPress direCTory change is to modify URL settings through the admin page and/or to change DB user infORMation through “wp-config.php”. in most cases, re-installation is not necessary.
Moving WordPress Case by Case
1. Move WordPress to a new directory within the same website.
2. Move WordPress to an existing directory (including the root directory) within the same website.
3. Move WordPress to a new server with the same domain and the same directory.
4. Move WordPress to a new server with a different domain or a different directory.
5. Use WordPress plug-ins or tools to export and import data.
6. Update the internal links of the existing posts if necessary.
7. Modify the 404 page if necessary to indicated that some files may be missing because of directory change.
8. Manual update of the blog URLs using MySql queries.
2. Move WordPress to an existing directory within the same website. This includes moving WordPress direCTory to the root direCTory. it’s going to overwrite the destination files when their names are the same.
6. Update the internal links of the existing posts if necessary. The internal links within the existing posts and pages should be manually updated when they use absolute URLs. Otherwise, they still point to old locations.