HowTo

WordPress Content Transfer: 7 Essential Checks for a Safe Import

How to Import and Export WordPress Content Between Sites

You want to move selected WordPress content to a new site without replacing its entire database. Or you’re splitting one site into two. You don’t need a full migration — you just need the content. WordPress has built-in import and export tools that handle posts, pages, and media, as long as you know what they can and can’t do.

This guide covers what the exporter includes, how to export and import content, how to move menus and settings, and how to fix problems afterward.

What the built-in exporter covers

The exporter creates a WXR file (an XML file) containing:

  • Posts, pages, and custom post types
  • Categories, tags, and custom taxonomies
  • Comments and custom fields
  • Authors
  • References to media files

It does not include themes, plugins, site settings, widgets, or the media files themselves. Traditional navigation menu items can be part of an all-content export, but assignments and block navigation need verification. The importer can attempt attachment downloads separately.

WordPress Content overview — WordPress Content Transfer: 7 Essential Checks for a Safe Import

Exporting WordPress content

  1. On the old site, go to Tools → Export.
  2. Choose All content, or just posts, pages, or a specific post type.
  3. Click Download Export File and save the XML file.
  4. For large sites, export in chunks (by date range or post type) so the import doesn’t time out.

Importing WordPress content on the new site

  1. Go to Tools → Import and install the WordPress importer.
  2. Click Run Importer and upload your XML file.
  3. Map authors: assign imported content to existing users or create new ones.
  4. Tick “Download and import file attachments” so images come across.
  5. Click Submit and wait — large files can take several minutes.

If the upload fails, the file may exceed your server’s upload limit. Split the export, raise the limit in your hosting panel, or use WP-CLI: wp import file.xml --authors=create (see WP-CLI for Beginners: Manage WordPress From the Terminal).

Moving widgets, menus and settings

  • Menus: menu items import as navigation items, but you usually need to assign the menu to a location again in Appearance → Menus.
  • Widgets: use a widget importer/exporter plugin, or rebuild them.
  • Settings: permalinks, site title, and plugin settings don’t transfer — note them down and set them manually.
  • Theme options: many themes have their own export tool.

If you need everything — settings, plugins, themes, and the full database — a dedicated migration plugin or a host-to-host transfer is the better tool, not the built-in importer.

Fixing issues after import

  • Missing images: inspect failed attachment downloads and the available source records before retrying. Copying files alone does not recreate their database records or relationships; regenerating thumbnails does not repair that missing mapping.
  • Old URLs in content: check the installed importer’s supported URL migration options and inspect the result. Use a reviewed, serialization-aware replacement workflow with a backup for any remaining references.
  • Broken internal links: check links after the URL replacement — see Internal Linking in WordPress: A Power User Strategy.
  • Duplicate content: if you imported twice, use the importer’s skip behavior or clean up duplicates carefully.
  • Permalinks: visit Settings → Permalinks and click Save to refresh them.
  • SEO data: Rank Math and Yoast include their own import tools for meta titles and descriptions.

Tools and hosting that help

A fast, well-supported host makes every WordPress task smoother. Kawedma WordPress hosting and managed WordPress hosting powered by Rocket.net include staging sites for safe testing, while shared hosting from Hosting.com or Kawedma shared hosting suit smaller sites. Protect the site with an SSL certificate and automatic backups from CodeGuard.

Key takeaways

  • Built-in tools move posts, pages, taxonomies, and media.
  • Menus, widgets, and settings need extra steps.
  • Split large exports to avoid timeouts.
  • Check images, links, and permalinks after importing.

WordPress content: 7 essential checks for a safe transfer

Moving WordPress content is a data-mapping project as well as a file upload. Decide which records should arrive, which destination data must remain, and which dependencies make the imported material usable. A successful importer message is useful evidence, but acceptance requires checking the saved records and their public presentation.

Use staging for the first run and keep backups of both sites. The steps here describe a planning process; they do not perform an import or change another website. Export files can contain unpublished text, comments, author information, and custom fields, so keep them in an approved private location.

1. Define the source and destination scope

List the content types, date range, statuses, authors, taxonomies, and attachments involved. WordPress content can include more than ordinary posts, and a filtered export may not include every dependency of the selected articles. Record the intended population and compare it with the available export controls.

Identify what already exists at the destination. A merge into an active publication has different risks from importing into an empty test site. Note records that must not be overwritten or duplicated, and choose a stable way to reconcile imported items with the source.

2. Confirm the format’s boundaries

The Tools Export documentation describes WXR as an XML format containing supported content records and related data. It does not package an entire working installation. WordPress content that depends on a custom plugin or theme still needs those components or a planned replacement.

Distinguish attachment references from media bytes, and exported custom fields from a complete plugin configuration. A record can arrive correctly while its shortcode or specialized block no longer renders. Inventory those dependencies before deciding that a content-only transfer is the right tool.

3. Prepare the destination dependencies

Make the required content types and taxonomies available through their maintained implementation before evaluating the result. WordPress content should not be imported into an environment that has no plan for interpreting its important fields, blocks, or relationships. Use supported versions and record the configuration.

Check the destination theme with representative material. Long titles, galleries, forms, tables, and custom layouts can reveal compatibility gaps. Do not assume that importing the underlying text recreates the original visual design or the external service behind an embedded form.

4. Plan authors and publication state

Decide how source authors map to destination accounts. WordPress content attribution and login permissions are related but separate decisions. Mapping a byline should not casually grant an external contributor broad access to the new site. Review the available mapping choices before submitting the import.

Include drafts, private records, and scheduled articles in the acceptance plan when they are within scope. Confirm dates, time zones, visibility, and status after import. A transfer should not accidentally publish unfinished material or move a future release to an unintended time.

5. Verify attachment access and relationships

The importer can attempt to download referenced attachments when the supported option is selected. The WordPress import guide explains that workflow. WordPress content may still contain missing media if the source is unavailable, requests are blocked, or attachment records are absent from the selected export.

Keep the source available until acceptance and inspect the import report. Check featured images, in-body images, galleries, downloads, captions, and relevant metadata. A picture loading from the old domain can hide an incomplete transfer, so verify where representative assets are actually served.

6. Test URLs and identifiers

Internal links, custom field references, menu items, and plugin relationships can depend on old URLs or identifiers. WordPress content needs a mapping that the chosen importer supports. Do not assume a source post ID remains the same when the destination already contains records.

Inspect the installed importer’s current URL-migration options. WordPress announced improved content URL migration, but verify the feature in the version and workflow you use. Review remaining references before any additional replacement to avoid changing unrelated addresses.

7. Reconcile results before release

Compare expected and imported counts by the meaningful scope, then inspect representative records and known edge cases. WordPress content acceptance should cover text, status, authors, taxonomy, media, links, and required functionality. Explain any mismatch rather than treating a similar-looking total as proof.

Record failures and resolve them before retiring the source or declaring the transfer complete. Keep the export, mapping, import report, and backup until acceptance. If the destination is active, plan targeted corrections rather than restoring a whole database over legitimate new work.

What to verify for each record type

Material Verification Common gap
Posts and pages Title, body, status, dates, and public output Imported text depends on unavailable blocks or shortcodes
Authors Correct attribution and intended accounts New account permissions were not reviewed
Taxonomies Terms, assignments, and archive behavior Custom taxonomy implementation is missing
Media Local files, records, featured images, and links Images still load from the old domain
Navigation Items, destinations, and theme assignments A menu exists but is not connected to the layout
Custom fields Values, references, and component behavior Stored IDs point to the wrong destination records

Use this table to define the WordPress content acceptance checklist before the first import. Add site-specific requirements instead of relying on a universal list. A documentation site may need downloadable files; a publication may need bylines and scheduled releases; a custom directory may need relationships between records.

WordPress Content checklist — WordPress Content Transfer: 7 Essential Checks for a Safe Import

A small WordPress content transfer rehearsal

Select a representative group on the source: an ordinary post, a page, a media-rich article, a custom record, and a relevant nonpublic item if permitted. Export through the supported interface and import into a disposable staging destination. Preserve the original source selection and report.

Inspect the WordPress content in both the editor and the front end. Test a second role or logged-out visitor where permissions matter. Include a difficult case such as a linked PDF, a custom field relationship, or a block supplied by another plugin so the rehearsal exposes real dependencies.

Document the corrections needed and repeat the rehearsal only when changes justify it. Once the workflow is understood, use a precise full selection and the same acceptance checks. Avoid improvising a different process during the production transfer without recording the new assumptions.

WordPress content: large and interrupted imports

Choose batch boundaries that preserve a valid export format and useful relationships. Exporting by supported date or type filters can reduce file size, but may separate attachments or related records. WordPress content should not be split by cutting an XML file at an arbitrary line.

If a job times out, inspect which records and files arrived before rerunning. Some work may have completed even when the final browser response failed. Repeated imports can encounter duplicate detection or create unexpected results depending on the data and tool, so verify the installed importer’s behavior.

Keep a batch register with selection criteria, file identity, start time, result, expected count, confirmed records, and unresolved errors. A command-line workflow can be appropriate for an authorized administrator, but it still needs resource planning, mapping, and validation rather than only a longer execution window.

Command-line imports are a separate supported path

The WP-CLI import reference documents a command-line interface to the WordPress Importer. Confirm the required components, target installation, and author options before use. Example commands are not a reason to create accounts automatically without reviewing the mapping.

Run as the appropriate site account and keep credentials out of logs. A shell environment may use different PHP settings from web requests. Verify the target and a small staging batch first, then retain useful error output in a protected location.

After the command completes, inspect the same WordPress content acceptance checklist used for a browser import. Command success does not establish correct featured images, internal relationships, public links, or theme rendering. The transport method changes; the required outcome does not.

Media files are more than a folder copy

An attachment involves a physical file and database records or metadata that describe it. WordPress content can reference the file in a body, as a featured image, or through a gallery or plugin relationship. A complete transfer must preserve or rebuild the relevant mapping through a supported process.

Copying an uploads directory can supply files but does not automatically create missing attachment posts or assign featured images. Thumbnail regeneration can create derivatives for known media, but it does not infer every absent relationship. Diagnose which layer is missing before choosing the repair.

Test a representative asset at its intended destination and confirm no unwanted source dependency remains. Do not delete the original media or close the old site until the transfer is accepted and any link or redirect plan is ready.

Menus, widgets, and design settings

Traditional menu records can be included in an all-content workflow, but menu location assignments belong to the destination theme’s setup. Block navigation and other design data need verification in the actual theme model. WordPress content and presentation settings do not have identical portability rules.

Check header, footer, sidebars, navigation, and special page templates after import. Reassign supported menus and rebuild or transfer other components through their documented tools where appropriate. Avoid copying unknown database options from the source as an improvised substitute for a planned configuration migration.

If the requirement is to reproduce the entire installation, reassess the tool choice. A full migration or host transfer may be more appropriate than a selective content export, but it also needs its own scope and recovery checks, especially when the destination already has live data.

Search and replace needs a reviewed scope

Check what the importer already rewrote before running another replacement. WordPress content may intentionally link to the old site as an external reference, so replacing every appearance of a domain can change meaning as well as destination. Prepare examples and a known mapping.

Use a serialization-aware supported tool where structured stored data requires it, and start with a dry run when available. Preserve a backup and inspect representative changed values. A broad raw text operation can damage encoded structures or change records outside the intended transfer.

Test links, images, embeds, and canonical output afterward. A successful replacement count is not enough to establish that every new destination exists. Keep old-to-new mappings for important resources and plan relevant redirects if the public addresses are changing.

WordPress content privacy and source retirement

Review the export’s contents before storing or sharing it. Drafts, private posts, comments, author details, and custom fields can contain nonpublic information. WordPress content transfer files should have appropriate access and retention rather than being left in a publicly accessible uploads directory.

Use synthetic data for tool demonstrations and support examples where possible. Restrict who can download the real export, and remove temporary copies according to the agreed retention process after acceptance. Keep recoverable backups through the required maintenance period.

Retire the source only after media, links, dependencies, and ownership have been checked. Decide what remains public and how former URLs behave. Do not assume that a destination homepage is a useful redirect for every retired article.

WordPress Content next steps — WordPress Content Transfer: 7 Essential Checks for a Safe Import

WordPress content transfer handover

Record the selected scope, source and destination, author map, dependencies, media approach, URL mapping, batches, failures, and acceptance results. WordPress content migration becomes maintainable when another person can understand which records moved and which intentionally stayed behind.

If you need implementation help, KAWEDMA offers website development and hosting services. Provide the destination’s existing data constraints and a representative sample, then request a staging demonstration and a documented recovery route before release.

Questions about WordPress content transfers

Is a WXR file a full website backup?

No. It is a content-transfer format with supported records and references. Keep an independent backup of the files, database, and required configuration. A content export alone does not restore the complete runtime environment or every plugin’s data model.

Why do imported images still use the old domain?

The attachment download or URL remapping may be incomplete, or the content may contain a reference outside the importer’s supported rewrite path. Inspect the saved body, attachment records, file availability, and import report. Repair the identified gap rather than uploading duplicates blindly.

Can I rerun a failed import immediately?

First inspect partial completion and the tool’s matching behavior. A timeout can occur after some records were saved. Keep a precise list of known results and unresolved items so a retry does not hide duplicates or change the wrong records.

What makes the transfer complete?

The intended WordPress content is present with correct attribution, state, relationships, media, and links; required functionality works; destination data is preserved; and exceptions are resolved or explicitly documented. Keep the evidence until the responsible owner accepts the result.

HT

Hostreta Team

Writes for Hostreta about the topics covered in this article.

Comments (0)

Your email address will not be published. Required fields are marked *

Ad
Affiliate links

Tools we recommend

Protect Your Website with Automated Daily Backups

$2.09
Get it

the easiest way to manage all of your social media accounts

$29
Get it

Starter Website Get online, properly

$249
Get it

google workspace Business Starter

$3.75
Get it

Nord Vpn Cybersecurity. Built for Everyday Use

$8.99
Get it
More hosting options · affiliate

AI SiteBuilder

View plans

AI Application Hosting

View plans

Shared Hosting

View plans

Reseller Hosting

View plans

Managed WordPress · Rocket.net

View plans

Unmanaged VPS Hosting

View plans

Managed VPS Hosting

View plans

Virtual Dedicated Servers

View plans

We may earn a commission on purchases made through these links, at no extra cost to you.

Ad
Ad

$ top hosting picks

affiliate
★★★★★

KAWEDMA Website Services

See optionsCheck current plans and terms
  • Explore website setup services
  • Choose a scope that fits your project
  • Confirm features with KAWEDMA
Explore KAWEDMA →
affiliate link · we may earn a commission
★★★★★

Managed WordPress Hosting

See plansCurrent terms on provider website
  • Managed hosting for WordPress
  • Powered by Rocket.net
  • Compare current plan specifications
View WordPress plans →
affiliate link · we may earn a commission
★★★★★

AI SiteBuilder

See plansCheck current offer and renewal terms
  • Explore AI-assisted website creation
  • Review included tools and features
  • Choose a plan for your project
Explore SiteBuilder →
affiliate link · we may earn a commission

Never miss a new article

Join thousands of developers and builders getting a weekly digest of the best tech articles.