WordPress posts migration
Migrating content from one website to another would be very time-consuming task if you need to copy and paste all of it manually, one by one. That is why WordPress has a built in functionality to export blog posts, pages and all other types of data stored in it.
To initiate the migration you will first need to go to your WordPress dashboard.
Then you need to go to Tools > Export:
On the page where you will be redirected you will see different options on what you want to export. You can export either only specific elements such as posts and pages or the whole content of the website. The file you will be able to download is an XML:
The next step is to go to the website in which you want to import the data (posts, pages and so on). Then go to its dashboard.
If the WordPress Importer is not installed you need to install it. Then click on the Run Importer button.
On the page where you will get you need to choose the XML file you have exported from your other website:
Next click on the Upload file and import button:
Now you need to assign the content to a user on the new website. You can choose to import the original author from the old website, create a new user or assign the posts to an existing user on the new website.
If there are images and other attached files to your posts you need to check the Download and import file attachments option. Finally click the submit button: