How to Transfer Your WordPress Content
Sometimes you may want to transfer only the content from your WordPress blog from one application to another (switching hosts for example). In such cases, WordPress provides you with an easy mechanism to move your posts, comments, attachments and other information with just few clicks.
To do this, first login as administrator in your existing blog backend and select Tools -> Export from the left menu.
On this page chose whether you want your Posts, Pages and other available content transferred or you want all the content to be exported. For the purpose of this tutorial, we've chosen to move all the content. Then press the "Download Export File" button and save the .xml file to your computer.
Now, login to your new WordPress installation and chose Tools -> Import from the left menu. On this page select "WordPress" in order to import content from your previous WordPress installation.
On the next page you have to select whether you want the new content to be posted with an existing author or under a new username. Make sure you check the "Download and import file attachments" checkbox. This will allow WordPress to move correctly your posts including all the photos and other media you've inserted into them.
Finally, press the Submit button and your content will be imported into your new WordPress application. That's it! Your posts and media are now successfully migrated!