Migration of WordPress posts from one website to another

However you can migrate your WordPress posts to another website manually, but it may take several hours. Through simple few steps, you can automate the copying of all files though. 

Step 1: In the admin of our old WordPress site, go to Tools>Export

Step 2: On this page, you'll have the option as to what all content you want to export. Choose All Content, if want all content of the site to be copied, select Posts, in the case of posts only or Pages for all pages. Leaving other options default if there is no other requirement, click on Download Export File then save the file.

Step 3: Now in the admin of your new WordPress website, go to Tools>Import. Select WordPress, then in the popup window, click on Install, this would install the importer. Now click on Activate Plugin & Run Importer, and select the file you just downloaded and click on Upload file and import. Your required file is uploaded now.

Step 4: In order to assign the author, you need to follow the instructions. Check Download and import file attachments and then click on Submit button.

Now, you're done with the WordPress posts migration!
I hope it worked.