It was a harrowing two days to move The Good Plate from its former home over at AdrienneBoswell.com, and at one point I even got frustrated. That will now me never to try to move a Word Press blog when I have not had enough sleep the night before. You tend to forget things, and then get your panties in a wad because something isn’t working the way you think it should.
For any of you who might be wanting to do this in the future, here’s the recipe for doing it pretty simply:
- Make a folder on your computer that is the name of the old word press site, eg. oldsite
- Make a folder on your computer that is the name of the new word press site, eg. example
- Download ALL the files in the wordpress files from the old site to the oldsite folder on your computer
- Get to the old database files, and save all the word press tables as one big sql file to your computer. You will probably be doing this in phpmyadmin. Save the file in the oldsite folder.
- Open the sql file in a text editor. DO NOT TRY THIS IN WORD – USE NOTEPAD.
- Lets say the old web site was http://example.ORG and the new site is http://example.COM (I am using the example domain name because it is reserved for this purpose. I don’t want to use up someone else’s bandwidth).
- Replace ALL example.org with example.com.
- If you had a structure like http://example.org/wordpress and the new structure is the same, just change example.org to example.org.
- If you are going to have the blog in the root directory, then you want to replace example.org/wordpress with example.com
- Change the database instructions on the wp_config.php file which is in the root of the oldsite directory.
- Upload the files from the oldsite folder to the new domain.
- You should be able then to point your browser to the new domain.
- Make changes to any of the Google, Facebook, etc. account that use the old domain
- Put a 301 redirect in the htaccess file to send visitors with the old address to the new address
There are other ways of doing it, but this way worked for me. Good luck!