WordPress Importer moves posts, pages and related content from a WordPress WXR export into another WordPress site. Use it when you want to transfer content into an installation you've already prepared. I'd choose a full-site migration tool when the job also requires the site's database, themes, plugins and settings.

Choose the right import format

The free WordPress Importer published by WordPress.org accepts a WordPress export file. Its supported content includes posts, pages, custom post types, comments and their metadata, custom fields, categories, tags, custom taxonomy terms and authors. A WXR file uses XML, but an arbitrary XML feed or spreadsheet isn't automatically a compatible WordPress export.

For a supplier CSV, recurring feed or field-mapping job, choose an importer designed for that format. WP All Import and Import WP are separate products; their mapping screens, scheduling and edition-specific features don't belong to WordPress Importer. For a complete site restore, WordPress's backup guidance requires the database and files. A WXR export doesn't package the installed themes, plugins, upload files and site configuration as a restorable clone.

Prepare the destination before uploading

Create a restorable backup of the destination's database and files before importing. The UpdraftPlus setup page covers that backup workflow. Keep the source intact and rehearse on protected staging. Imported entries can retain their original publication status, so don't assume everything will arrive as a draft awaiting approval.

Install and configure the required theme and content plugins separately. A custom post type must be registered on the destination before its entries can be imported; otherwise the importer reports an invalid post type and skips them. Imported custom-field values also need the appropriate field definitions or rendering code to appear correctly. Content that depends on a builder or shortcode needs that renderer available.

Keep the original attachment URLs reachable from the destination server until media verification is complete. WXR records describe attachments; the XML doesn't contain the image binaries. A source that opens in your signed-in browser may still reject the destination's download request. Don't expose private content just to make a transfer work: arrange an approved migration route with the host instead.

The 0.9.7 release lists WordPress 5.2 and PHP 7.2 as minimums. These compatibility floors aren't a reason to run outdated software. Its imported-content URL rewriting has a separate requirement: WordPress 6.7 or newer.

Export the content you intend to move

On the source site, open Tools → Export. Choose All content for a broad content transfer, then click Download Export File. The export screen's filters let you narrow posts or pages by author, date range and status. Record the scope you chose so you can compare it with the destination afterward.

All content selected in the WordPress export form
Choose All content for the broad export route; a filtered export changes what you can expect to arrive. View full size (opens in a new tab)

Keep the downloaded WXR file unchanged as your original. Import only an export from a source you control or have approved: its records can create content and users on the destination. A selective export needs extra care around related content and media: an image appearing in a post doesn't itself prove that its attachment record is included. Review the transfer on staging before committing to a final export strategy.

Run the WordPress importer

  1. On the destination, open Tools → Import and find the WordPress entry.
  2. Click Install Now if that importer isn't installed, then Run Importer. Confirm that you're using WordPress Importer, rather than a similarly named CSV mapping tool.
  3. Click Choose File, select the WXR file from the source and click Upload file and import.
  4. Review the author, attachment and content options described below before clicking the final Submit.
WordPress entry with the Run Importer link on the Import screen
On the destination, use Run Importer under WordPress after installing the importer.

The WordPress content-import instructions distinguish uploading the export from assigning authors and importing its content. If the upload is rejected, resolve that error first. Renaming a CSV or unrelated XML file won't turn it into WXR.

Set authors, attachments and URLs deliberately

Under Assign Authors, map each source author to the intended existing destination user, or review the new-user option if it's appropriate. I'd map to approved existing authors for a straightforward transfer because it keeps bylines and account ownership deliberate. A newly created user receives a generated password and the destination's default role; this process doesn't preserve the source account's login credentials.

Under Import Attachments, select Download and import file attachments when you need local copies of the exported attachments. The checkbox starts unchecked in 0.9.7. Selecting it asks the destination to fetch the referenced files; successful content import alone doesn't prove those downloads succeeded.

Under Content Options, review Change all imported URLs that currently link to the previous site so that they now link to this site. This option starts checked in 0.9.7. Keep it selected when the imported internal links should move to the destination, and review the resulting links afterward. If you intend to preserve links to the source, make that choice before submitting.

The 0.9.7 implementation applies that rewrite to imported post content and excerpts, including block markup, using a valid source base URL. WordPress versions below 6.7 continue without this rewriting. It isn't a database-wide replacement or a redirect service for visitors to the old site.

Once these choices match the transfer plan, click Submit and retain the result messages. Keep the source available while you check the destination. Don't start a second import merely because the first page appears slow or incomplete.

Check the content and the actual image files

Compare the destination with your recorded export scope. Check representative posts, pages and custom post types, including older entries and content with comments or custom fields. Verify the intended bylines, publication statuses, dates, categories, tags and parent-child relationships. Open the public-facing pages on staging as well as their editor screens; a populated field isn't proof that the selected theme renders it.

For media, open an imported attachment in the destination Media Library and inspect its file URL. Confirm that the destination serves the actual file, then inspect images inside imported posts and their featured images. A visible picture can still be loading from the source host. Check links in content and navigation separately, especially where the source used custom URLs or the destination uses a different permalink structure.

Review menu locations in the destination theme. The export includes navigation-menu content, but that doesn't establish where a different theme displays it. Check the intended menu on the front end before marking navigation complete.

Keep staging access controls in place during these checks. Only move on to your site's release process when the content scope, permissions, rendering, links and media meet the transfer plan. Preserve both the original export and the pre-import backup until you're satisfied with the final result.

Resolve import errors before retrying

Start with the exact message and the affected item. The cause determines whether you need a different export, a source download fix or help with the destination server.

  • Attachments were skipped. Check whether the download checkbox was selected and whether the export contains the relevant attachment records. If either was missing, correct the transfer plan before another run.
  • An attachment download failed. Check the named source URL and ask the host to verify that the destination can retrieve it. The importer distinguishes request errors, unexpected HTTP responses, empty downloads and size errors. A login page or blocked request needs a different fix from an oversized file.
  • Invalid post type. Confirm that the destination has the intended plugin or theme registering that type. Enabling the right content model is the prerequisite; changing the type name in XML can break its meaning.
  • The export cannot be uploaded or parsed. Confirm that it's the original WXR export and compare its size with the destination's upload limit. Share the exact error with the host before changing server limits or editing the file.
  • Memory exhaustion or an interrupted import. Review what arrived before retrying. WordPress's import guidance recommends addressing server memory limits with the host or using smaller valid import files. Don't split XML at arbitrary lines; preserve valid exports and the relationships the transfer needs.

A failed import may already have created content. Repeating the same file can produce duplicate data, and existing-item handling isn't a general synchronization guarantee. In 0.9.7, matching existing posts uses title, date and post type, while related terms, comments and metadata can still be processed. Review partial results rather than assuming the next run starts from zero.

On disposable staging, restoring the coherent pre-import destination backup can give you a known starting point for a corrected attempt. Restoring a live destination would also remove legitimate changes made after that backup, so coordinate that decision first. Avoid bulk-deleting records just because they appear near the import date.

Setup guide
  1. Back up the destination, protect staging and prepare the theme, plugins and custom post types.
  2. Export the intended WXR content from the source; keep its media reachable through an approved route.
  3. On the destination, open Tools → Import → WordPress, install if needed and run the importer.
  4. Upload the WXR, map authors, choose attachment downloads and review the imported-URL option before Submit.
  5. Check statuses, bylines, rendering, destination media files and links. Investigate partial results before retrying.

If the transfer also needs installed plugins, theme files and configuration, return to the plugin catalog and choose a full-site migration workflow. Keep WordPress Importer for the content-transfer task its WXR format is designed to handle.