How do you move blog posts from one WordPress website to another?
The built-in WordPress tool is fine if you’re moving EVERYTHING to a new site, but if you only export blog posts with it you’ll notice it might not import the images from the old site into the new site.
This guide shows you how to export a bunch of blog posts (with their images) to another WordPress website using a plugin.
Unfortunately it still requires setting up featured images separately, but it’s already a long way towards getting most of your images moved. It’s a huge help.
I’ll be using two terms in this post when I refer to your WordPress installs: old and new.
This refers to the old destination and the new destination. It’s got nothing to do with the age or freshness of the sites. I’m not discriminating against your websites.
The length of this process depends on how many posts you have.
For the purpose of making a video I quickly set up two sites and added five posts to move from one site to the other.
It took less than four minutes.
To move your WordPress posts with their images to another WordPress website, you’ll need the following tools:
- This is the self-hosted version of WordPress, not wordpress.com.
- Page Builder Framework.
- This is entirely optional, but such a fantastic WordPress theme that I highly recommend it.
- Auto Upload Images plugin, or تصاویر بارگذاری خودکار, as it’s known in Persian.
- This is installed on the website you’re moving the content to. You won’t need it on the old website.
I assume you know how to install a WordPress plugin. If not, view my post on how to install a plugin.
Export the posts
Follow these steps to export your blog posts on the old website:
- Inside the old WordPress, head to the export tool.
- Tools > Export.
- Click the “Posts” radio button.
- Here you can refine your export settings. For the purpose of this article I’m exporting all posts, so I’m leaving all settings as they are.
- Click the blue download button at the bottom of the page.
- This downloads the file to your computer. You’ll need to locate the file later, so make sure you know where it is.
Import the posts
I’m assuming you’ve activated WordPress’ built-in importer, so follow these steps to import the blog posts to your new WordPress website:
- Visit the Import page under Tools in the sidebar.
- Tools > Import.
- At the bottom, under the WordPress heading, click on “Run Importer”.
- If there is no option to run the importer, there should be an option to install the WordPress importer. Click it.
- Click the “Choose file” button and find the file you exported from the old site.
- Once you’ve located the file and chosen it, click the Upload file and import button.
- On the next page, assign the posts to an author or create a new user.
- For the purpose of this article I’m assigning the posts to an existing author: me.
- Click the “Submit” button.
- There’s no point checking the box that says, “Download and import file attachments”. That’s because you’ve not exported the website in its entirety. That means the import tool will ignore that function.
- On the next page you should see a success message indicating your posts were imported correctly.
- If you don’t see such a message, check under posts to see if the posts weren’t imported despite the lack of a success message.
Check your media library
Thanks to some behind-the-scenes magic (created by the Auto Upload Images plugin) your images should all be present inside your new install’s media library.
To check, follow these steps:
- Navigate to your media library.
- Click on one of the images inside the library.
- Check the URL of the image.
- If it’s still showing the old web address something went wrong. If not, you’re good to go.
If it fails
You’ve imported all posts but you don’t see the images in your library.
These steps might work:
- Navigate to your posts page.
- On the left hand side, select the checkboxes of those posts you imported.
- You can click the checkbox next to ‘Title” if all of your posts were imported from the old site.
- Click on the “Bulk Actions” dropdown box and choose “Edit”.
- Click “Apply”.
- This should force fetch the images from the old site and add them to the new site’s media library.
As mentioned earlier in this article, this procedure doesn’t import featured images.
Maybe the plugin is supposed to and I’m just way too dumb to even know it.
The plugin comes with a settings page but there’s nothing worth changing there. There certainly doesn’t seem to be a setting for featured images.
If you’ve been wondering how to ensure your images go with your posts when you move your posts to a new blog, the Auto Upload Images is a must-have plugin for you.
In a few steps your posts will be up and running on the new site and your only problem will be moving featured images.