How to Import WordPress Posts
To import WordPress posts, go to WP All Import › New Import, provide your import file, and choose Posts from the dropdown list. Use our Drag & Drop interface to map incoming data elements to their target post fields, then run the import.
Step 1: Create a New Import – WordPress Posts
Navigate to All Import › New Import and select your import file. Choose to import Posts in the dropdown list, then click Continue to Step 2.
Step 2: Review Posts Data to Import
Next, you will see the Review Import File screen, which allows you to check on the data that will be imported as WordPress posts. If you spot a problem, edit your import file and try again.
Near the bottom, you can add filters using the Add Filtering Options section. Filters allow you to selectively decide which posts get imported.
Once you're done, click Continue to Step 3.
Step 3: Map Incoming WordPress Posts Fields
This brings you to the Drag & Drop interface, which helps you build the import template. You drag the import fields from the panel on the right to the appropriate target field on the left. You can use this technique to map all of the required fields.
Title & Content
First, map the post title and its content:
You can also map the short description or excerpt.
In the Images section, map all images associated with the post, including the featured image:
There are different options in this section, allowing you to import images via different methods.
In the Custom Fields section, set up any custom fields that should be imported to the WordPress post:
Other Post Options
This section allows you to define other post data, such as post status, dates, slug, author, attachments, menu order, etc.
Once you've mapped all posts import elements, click on the Continue to Step 4 button at the bottom (not shown).
Step 4: Configure Settings to Import WordPress Posts
The Import Settings interface is next. Here, you can modify the import configuration and other settings. First of all, click Auto-detect to generate a unique identifier. As the name implies, this allows WP All Import to uniquely identify posts, which is especially important to avoid creating duplicates and to update existing posts on subsequent runs of the same import.
In this panel, you can also define how WP All Import should behave when the import is run again. For example, you can instruct it to remove posts if they are no longer in the import file.
Below this, two other panels allow you to define Scheduling Options and Configure Advanced Settings. These can be left untouched for now.
To go to the next step, click Continue at the bottom.
Step 5: Run the Import and Check Imported Posts
WP All Import will take you to the Confirm & Run screen, where you'll see an import summary:
So long as everything looks correct, click on Confirm & Run Import to run the import. You'll see the following screen once the import completes:
To check that your WordPress posts were correctly imported, validate them via Posts › All Posts.
Import WordPress Posts – Advanced Topics
Import Selected WordPress Posts Using Filters
While setting up the import process in Step 2, use the Add Filtering Options section in the Review Import File screen to add your desired filter and selectively choose which WordPress posts to import. You need to add a target Element, a Rule to apply, and a Value to filter by.
For example, if you want to import only posts related to New York City, you can add a filter containing "New York City" or "NYC" in the category import field:
Import from Different File Types
WP All Import allows you to import from many different file types, so you can import your WordPress posts regardless of how they are stored. Here are the supported file types: XML, CSV, ZIP, GZIP, GZ, JSON, SQL, TXT, DAT, and PSV.
If you need to change the import file after you've run the import, you can do so via All Import › Manage Imports › Settings.
For more information, see Import Types Available in WP All Import.
Schedule WordPress Posts Import
You can schedule your WordPress posts import to run automatically. WP All Import allows you to do this with either of these options:
- Manual cron jobs: included at no extra cost and can be set up in your web hosting. Learn more about it and how to set it up here: Scheduling Imports Using Cron Jobs.
- Automatic Scheduling Service: monthly and optional paid service that allows you to set up cron jobs directly from within WP All Import's interface. Learn more: Automatic Scheduling.
Frequently Asked Questions
Can You Export WordPress Posts?
Yes, using WP All Export, you can export WordPress posts from your WordPress site. Here's what you need to do:
- Go to All Export › New Export.
- Choose Posts from the dropdown list.
- Add all desired export fields and run the export.
- Download the exported WordPress posts.
Learn more here: How to Export WordPress Posts.
How Do I Transfer WordPress Posts?
You can migrate posts from one site to another using WP All Import and WP All Export. Here's what to do:
- Using WP All Export, create a new export for Posts.
- Choose to Migrate Posts and download the bundle file.
- Using WP All Import, create a new import and use the bundle file.
- Use the Skip to Step 4 button to finish migrating your WordPress posts.
Learn more here: How to Migrate WooCommerce and WordPress Data.
How to Bulk Edit WordPress Posts from My Site?
- In WP All Export, choose to export Posts.
- Download the exported file.
- Using your favorite spreadsheet software, perform your bulk changes.
- Re-import the modified file back using the Import with WP All Import option.
We explain more on how to perform a bulk edit process here: How to Bulk Edit WooCommerce and WordPress Data.
How Do I Import WordPress Posts As a Draft?
In Step 3 of the import process, under Other Post Options, change the Post Status to Draft. That way, all imported WordPress posts will be created as drafts.
Learn how to import a variable number of images per post.
Learn how to remove or modify data missing from an import file.
Explains how to use PHP code to modify imported data on-the-fly.
Learn more about how to set up and use recurring import processes.