How to completely export and import WordPress?

To copy a WordPress install from A to B, do an SQL dump on site A, and restore it to site B. Then search and replace the DB to swap the old URLs for the new URLs. Make sure to copy over the uploads folder in wp-content.

To do the search replace, consider using a tool such as this:

https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

Leave a Comment