Migrating Your Blog
There are several reasons why you might want to move your blog data from one WordPress instance to another. You may be starting your own website with its own hosted WordPress blog, or you want to change the name of your blog and keep the content, or you want to transfer ownership and control of the blog to another user account. WordPress has a way to address all these requirements.
If you are starting your own hosted website, the process is as follows:
- Register your domain.
- Download the software from WordPress.org.
- Install the WordPress software.
- Export the data from your current blog (refer to "Backing Up Your Data" earlier in this lesson).
- Import the data to your new blog (refer to "Importing Data from a WordPress Export in the next section).
The first three steps are covered in greater detail in Lesson 8, "Setting Up Hosting."
If you are renaming your blog or migrating from one WordPress.com blog to another, the process is similar:
- Register the new blog (refer to Lesson 1, "Introducing WordPress").
- Export the data from your current blog (refer to "Backing Up Your Data" earlier in this lesson).
- Import the data to your new blog (refer to "Importing Data from a WordPress Export" in the next section).
Importing Data from a WordPress Export
If you are importing from a previously exported WordPress (XML) file, follow these steps:
- Log in to your blog as an administrator.
- Go to Tools, Import in the side menu.
- Choose WordPress from the list.
- Select and import the file. Click the browse button and navigate to your export file. WordPress names the exported file wordpress.date.xml, where date is in the year-month-date format, such as wordpress.2010-11-30.xml. When you've located the file, select it and click Open. On the WordPress page, click the Upload file and import button.
- Map the authors in the export file to users on the blog. For each author, you may choose to map to an existing user on the blog or to create a new user.
- Check the box marked Download and import attachments. This downloads the media library from the original site if possible. This option is only available if you are migrating between two WordPress.com sites.
- Click Submit. A screen is displayed indicating the import has started. You will receive an email when it is complete.
- WordPress then imports each of the posts, comments, and categories contained in this file into your new blog.
The import could take up to 24 hours, depending on the amount of data in your blog. You will receive an email when the import is complete. If you do not, contact WordPress.com support at http://en.support.wordpress.com/contact. When the import is complete, review your new blog to ensure everything migrated correctly.
Transferring a Blog
WordPress allows you to transfer your blog to another WordPress.com user. You may choose to do this to transfer ownership to someone new, or you may have created a new account for yourself and want all your previously independent blogs under one account. The procedure to transfer a blog is as follows:
- Log in as an administrator.
- Go to Dashboard, My Blogs.
- Move your cursor over the address of the blog you want to transfer.
- Click on the Transfer Blog link. Note that you do not see this link if you are not the owner.
- Read and review the Big Important Warning that appears. It is important that you understand all the terms and conditions of the transfer. This procedure cannot be undone (see Figure 7.9).
Figure 7.9 Transferring a blog to another user cannot be undone.
- Check the check box on the bottom of the warning.
- Enter the WordPress.com account or email address of the person you are transferring the blog to and click the Transfer Blog button.
- A confirmation email is sent to your registered WordPress email address. The transfer does not occur until you read the message and click the link in email.