I recently switched a WP site from shared hosting to a VPS and would like to document the process here.
Put old host in read-only mode
Create a PHP file inside the wp-content/mu-plugins folder, with the following content:
This will prevent all logged-in users from leaving comments or creating posts on the old host. Copy files and database to new hostI used FTP for transfering files and phpMyAdmin for exporting/importing the DB. Handle DNS
Once the new DNS settings have propagated fully, you can nuke the old host. |
|||||
|
|
Here's a very comprehensive guide if someone can help me format it correctly. Sorry, I don't have the time right now to figure out the formatting... A. FTP-copy all theme and wp/upload files from {old_site} to {new_site}
B. Backup (export) existing database (from old_site)
C. Create new database
D. Restore (Import) to new database
E. New site FTP file modifications
F. Update |
||||
|
|
|
John Metta: WordPress and Github? Not as crazy as you think! That's not really an answer, but a nice talk that shows a pretty seamless process. |
||||
|
|