---
title: "WordPress.com to Self-Hosted: Why Images Go Missing and How to Fix It"
url: "https://wpimportexport.com/wordpress-com-import-images-missing/"
description: "Why images go missing after moving from WordPress.com to self-hosted WordPress, and how to import the export file with the images downloaded."
type: post
published: 2026-11-22T13:00:00+00:00
modified: 2026-11-14T10:46:28+00:00
categories: ["Import Guides", "Tutorials"]
tags: ["CSV import", "Import Export by RockStarLab"]
docs_topics: ["Import guides", "Media workflows"]
---

# WordPress.com to Self-Hosted: Why Images Go Missing and How to Fix It

You moved a blog from WordPress.com to your own WordPress site, the posts are there, but images are missing or still load from the old WordPress.com address. Below: why it happens, and how to import a WordPress.com export file with [Import Export by RockStarLab](https://wordpress.org/plugins/import-export-by-rockstarlab/) so that the images in the posts are downloaded into your media library.

**Free:** importing posts and pages from a WordPress or WordPress.com export file, with the images in their content. Needs version 2.1.52 or later.

## Short Answer

- A WordPress.com export (XML) file holds the text of your posts. The image files stay on the WordPress.com servers; the posts only contain their addresses.
- If the import does not download those files, the posts keep pointing to WordPress.com, or show nothing once the old site is closed.
- Import the XML file with **Automatically Import Media Files** turned on: the images in the content are downloaded into the media library and the addresses in the posts are changed to your site.

## Why images go missing

- **The export has no image files.** It lists the posts, and image addresses inside the content. The files have to be downloaded during the import.
- **The download stopped.** Large imports can hit your host’s limits. The WordPress Importer’s own FAQ says the import “may run into your host’s configured memory limit for PHP” and suggests splitting the file ([WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)).
- **The content was not rewritten.** An image can be downloaded while the post still contains the old address. Then the post works only as long as the old file exists.

## Import the WordPress.com export

Our test file came from a WordPress.com blog with three posts, two of them with an image in the content, plus the usual lists of categories and tags. Go to **Import Export → Import**, choose **Blog Posts** and upload the XML file:

![Import step 2 with roasteryjournal.wordpress.2026-11-10.xml uploaded, XML](https://wpimportexport.com/wp-content/uploads/2026/11/01-upload-2.webp)

_Upload the WordPress.com export file._

On the mapping step, **Auto Map** mapped `title`, `content:encoded`, `excerpt:encoded`, `wp:post_date`, `wp:post_name`, `wp:status`, `category` and `dc:creator`. Check the list: on our test site it also matched the `link` column (the old WordPress.com address) to a custom field that is also labelled “link”, so we removed that mapping with ×.

![Field mapping of the WordPress.com export: title, category, dc:creator, content:encoded, excerpt:encoded, wp:post_date, wp:post_name, wp:status](https://wpimportexport.com/wp-content/uploads/2026/11/02-mapping-11-scaled.webp)

_Auto Map maps the WordPress export columns._

In the options, check existing posts by **Slug**, keep **Automatically Import Media Files** on, and choose what to do with images that are already in the media library:

![Import options: check existing items by Slug, Automatically Import Media Files on](https://wpimportexport.com/wp-content/uploads/2026/11/03-options-5.webp)

_Keep Automatically Import Media Files on._

All three posts were created. The WordPress.com user `roasteryjournal` did not exist on the new site, so the plugin assigned the posts to the default author and listed this in the result:

![Import Completed with Warnings: 3 created, author roasteryjournal not found, posts assigned to the default author](https://wpimportexport.com/wp-content/uploads/2026/11/04-result-7.webp)

_Three posts created; the unknown author is reported._

## What arrived

- The two images were downloaded into the media library, in the upload folders of the post dates (`/uploads/2024/03/` and `/uploads/2024/06/`), and attached to their posts.
- The image addresses in the posts point to the new site.
- The posts kept their dates, slugs and the category Coffee.

![Imported post Our First Year in Coffee dated March 10, 2024 in category Coffee with its image loading from the new site](https://wpimportexport.com/wp-content/uploads/2026/11/05-live-post.webp)

_The image now loads from the new site._

## Before you import

[Back up the new site](https://wpimportexport.com/how-to-create-a-wordpress-website-backup-and-restore-it/), create the authors on the new site first if you want to keep them (authors are matched by login), and keep the WordPress.com site online until the import is done.

## With an AI agent

An AI agent connected to the new site through the WordPress MCP Adapter (see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)) can check the imported posts for old addresses:

```
Show the content of the imported posts. Do any images still load from WordPress.com?
```

In our run, the agent called `rsl-ie/export-preview` for the two posts with images. Both image addresses were on the new site, in `/uploads/2024/03/` and `/uploads/2024/06/`, and the posts had their original dates (10 March and 21 June 2024).

## FAQ

### Where do I get the WordPress.com export file?

WordPress.com offers an export of your content as an XML file in the dashboard. Download it while you still have access to the old site.

### Are the authors kept?

Authors are matched by login (`dc:creator` in the file). Create users with the same logins on the new site before the import; otherwise the posts get the default author and the result says so.

### Do I need PRO for this?

No. Importing posts and pages with their images from a WordPress.com export is part of the free plugin.

## Related Guides

- [Featured Images Missing After WordPress Import](https://wpimportexport.com/wordpress-import-featured-images-missing/)
- [Images and Links Broke After Pushing Staging to Live](https://wpimportexport.com/wordpress-staging-push-broken-images-links/)
- [How to Import a Ghost Export into WordPress](https://wpimportexport.com/import-ghost-export-into-wordpress/)
- [What’s New in 2.1.52](https://wpimportexport.com/wordpress-export-xml-import-export-by-rockstarlab-2-1-52/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/).
