How to Move WordPress To Another Host or Different Domain Name
If you need to move your worpress blog and the database to another web host or even to a new domain name it isn’t that complicated. If you don’t know how to back up wordpress read that first.
Moving wordpress to new host with same domain:
The first thing you will need to do is create a database. You should know how to do that, but if you need refreshing you can read how to do that here how to install databases.
First go into PHPmyadmin. Click on the database on the left column that you just created on your new site. Then on the top there will be a menu that has “STRUCTURE SQL SEARCH QUERY EXPORT IMPORT” . Click on IMPORT. Then click on the choose button to locate where your database .sql file is located on your hardrive. Click Go and wait for your file to upload.
If you have any issues during the upload because of very large files, etc then you should get help in a support forum. For newbie webmasters, the files should be small and not a problem importing.
Once PHPmyadmin is done, that means your database data has successfully been uploaded to your new host! The next thing you need to do is edit your config files for your wordpress for the new database name you created on your new host. Even though the database name probably will be a different name, all your old database information works because you simply just copied all the tables and data.
The final step will be to FTP your previous wordpress software files to your new account so you will have your old template.
Moving wordpress to new host with different domain:
If you want to move your wordpress database to another webhost, but with a different domain, first follow all the previous steps above.
Since you are moving to a different domain you will have to edit the actual database in order to do it. You cannot simply just change it inside the wordpress panel because the blog won’t work on the new domain without the database being edited.
Once you have done everything in the previous part above to get your wordpress database ready to go, it is now time to go edit the tables. Go in PHPmyadmin and click on the created database. On the menu at top (where export and import are located) click on “STRUCTURE” option. Then scroll down till yuo see WP_OPTIONS click on the browse icon to the right. Then you will see a bunch of tables. You will want to find SITEURL and click on the little pencil(edit) icon. Inside there you will just simply change the old domain name to the new domain name. Then click go and it will be saved. The next table to find is HOME. Edit that one just like SITEURL. You may have to go to the bottom and go to the next page to find this table.




June 24th, 2008
Your informartion is very much appreciated.
June 24th, 2008
You have produced a very clear and too the point article with step by step instructions that were easy to understand and follow.
Thanks
June 25th, 2008
You should back up the WordPress DB regularly. They’re always coming out with ‘security updates’ for it i.e. it’s a hacker’s play toy.
A smart thing is to remove ‘footprints’ that can be found in search engines i.e. the link to WordPress in the footer.
June 27th, 2008
very usefull article, thank’s for the tips..
June 28th, 2008
How about your PR when moving wordpress to new host with different domain?
July 1st, 2008
Then you use a 301 redirect on your htaccess file in your root folder (which only takes a few seconds to do). When google does next update it will show your PR onto your new domain. I recently had my PR transfer to a new site when I moved it to a different domain via a 301 redirect. You have to wait for google to go through another toolbar update before you see the change.
July 1st, 2008
thanx you admin
October 4th, 2008
We just released a plugin which helps the permalink problem. If you’ve moved a WordPress site before, you might have noticed that not all permalinks and content links get updated. Our plugin solves this problem by checking all links within posts and permalinks and replacing them.
Check it out at http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
August 19th, 2009
Nice post. Thank you
February 2nd, 2010
Can we copy and paste manualy all file to be uploading to our new hosting?