How do I move a WordPress site to another server?

I do this all the time to move a site from our staging server to the live domain.

I use PHPMyAdmin to export the database as an SQL file, then open it up in a text editor and do a global find and replace on the old url to change it to the new url.

The use the SQL script to import the new SQL file to the new database, and copy the file across. Works like magic every time.

Leave a Comment