Transferring Wordpress blog from server to server

Status
Not open for further replies.

RockDiesel

New member
Nov 29, 2007
1,419
16
0
So I have a few hosting accounts from various places and one of them decided that they are going to increase prices on me next month. I don't want to pay the increase so I will just transfer my blogs to my other accounts. I have never moved a wordpress site before, is there any special way to do it?

Can I just download the whole folder and transfer to the other host? Or do I have to take any precautions to preserve the database structure and all that technical shit?
 


the DocumentRoot directory can be copied straight up, just make sure that the database credentials in your wp-config.php are correct for the destination server. in theory nothing should change assuming your mysql databases are also a straight clone from the old server. a lazy way is to simply tar up the mysql data directory and extract it on the new server, but the proper way would be to use mysqldump and import the data into the target database on the new server.
 
It depends if you've customized the theme. But more recent versions of WP allow one to export the content and re-import it to the new location. That's how I handled my move. I just installed WP to the new location and imported the content, which WP stored in the new database. You may need to move the theme directory and install any plugins, but that is usually pretty straightforward.
 
ok, here is a newb question now. I haven't looked at the directory structure to closely. Is the DB stored in the folder for that particular wordpress installation, or are all the DBs housed in another directory?
 
usually all the db's on the host are in one directory (like /var/mysql/data, for example)
 
Also ask on the WordPress forum. When I moved my blogs, they posted an answer that worked in like an hour. I was running again in no time.
 
Status
Not open for further replies.