You can export a file of your site’s content to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.
Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.
Exporting Content from a Blog Site
1. Log into WordPress. If you are unsure of how to do this, read Logging in to WordPress.
2. Access the export menu on your site. From the menu on the left side of the Dashboard, expand the Tools menu, then click Export.
3. Choose content to export. By default, WordPress will export all posts and pages from a blog site. Users have the ability to export only posts or only pages, as necessary.
After you choose the desired option, click Download Export File.
Importing Content to a Blog Site
1. Access the Dashboard of the destination WordPress site.
2. Access the import menu. From the menu on the left side of the Dashboard, expand the Tools menu, then click on Import.
If presented with a series of options on the Import menu, choose WordPress.
You may be instructed to download the WordPress Importer. If so, continue through the installation process before continuing.
3. Click the Browse button to select the exported file, then click Upload file and import.
You may be prompted to select a user that will serve as the “owner” of content created from users of the exported site.
To download and import file attachments from the previous blog site, select the checkbox.