Backing Up Your WordPress Blog Posts
Before you attempt any of the WordPress migration methods, make sure you back up your WordPress blog. If anything goes wrong, you’ll be able to restore the content of your posts from this backup.
Step 1
Log in to your WordPress dashboard at /wp-admin.
Step 2
Expand the Tools menu and Click Export.
Step 3
Choose which data you want to export and Click Download Export File.
Now, if anything goes wrong, you can use the Tools > Import function to restore your old posts. This is the quickest and easiest backup method that only saves the content of your posts—it won’t save your settings, images and custom plugins, etc. For that, you should backup your entire WordPress site.
Move a WordPress Site to a New Directory
Step 1
Create the directory on your server. You can do this using any FTP client, or cPanel. If you’re creating a subdomain, you should do this ahead of time since it can take a few minutes for the change to take effect.
Step 2
Log in to your wp-admin dashboard. Expand the Settings menu and Click General.
Step 3
Change the WordPress address (URL) and Site address (URL) to your new WordPress location.
Step 4
After you Click Save Changes, you’re going to get an error message. This is normal, because your blog hasn’t been moved yet.
Step 5
Using a FTP program, move the entire contents of your WordPress directory to the new directory. This includes all the files in the root of your WordPress installation’s current location and subfolders. So, if your WordPress blog is installed at yourdomain.com/blog, move everything in yourdomain.com/blog. If your WordPress blog is located at yourblog.com, move everything in your root and plunk it into the new location you created in step one.
Step 6
Navigate to your new blog location to verify that it worked.
If so, go ahead and log in to your wp-admin dashboard.
Step 7
If you use permalinks (which you should), Click Settings and choose Permalinks.
Click Save Changes (you don’t have to change any options) to update your permalink structure.
Step 8
Click the Media tab in the Settings menu.
Step 9
Change the path in Store uploads in this folder to your new location. Note: I skipped this step and had no problems, but depending on which plugins you use, you may need to update your upload location.
After that, you should be all set. Note that if you used full paths when embedding images/links in your blog, they may be broken now. But if you used relative paths, such as /wp-content/uploads they should be fine. Either way, you may want to double-check to make sure everything made it over.
8 Comments
Leave a Reply
Leave a Reply

Dinesh @DailyBlogMoney
Thanks for the clear step by step methods with screenshots.
I wanted to ask a question, How did you manage to redirect the incoming back links from your old domain to new domain?
It would be great if you share them too.
groovinJackman
hi Dinesh — that’s a good question, and I think I have a good answer…I’ll cover it in my next blog post
Vadim Schmidt
Good stuff jack.
Here is a great resource when you want to move your WordPress blog. This has pretty much all the different scenarios for when you need to move a wordpress blog. I just used it actually when I moved domains.
http://codex.wordpress.org/Changing_The_Site_URL
You guys should explore this doc and improve on it since most of the steps are not in screenshot format like what you guys do. Perhaps do 1 write-up for each scenario!
Stephen
Thank you so much! This went seamles. My domain is now in a new folder and works fine!
Timmy Howard
Awesome awesome awesome write up lads. Killer stuff:)
Tim
The Kodz
Helped me a lot in moving my blog to hostgator. Thanks.
Steve Krause
Awesome! I’m glad it helped ya out — welcome to my blog. Hope to see you around.
Bouwe
Lifesaver, thank you! The updating of the permalinks did the trick!