Last updated: November 26, 2026

Quick answer: move an auto blog‘s media library to a new WordPress site in 7 steps by copying wp-content/uploads, matching the attachment data, and then fixing broken image URLs and missing thumbnails. If the posts move but the media does not, the blog may load text with empty image boxes, old file paths, or thumbnails that never appear.

Key takeaways

  • The media library is not just a folder of images; WordPress also tracks each file as an attachment.
  • The uploads folder holds the actual image files, but that copy alone may leave image links broken.
  • Missing thumbnails usually mean the files moved, but WordPress did not rebuild the small image sizes.
  • Old attachment URLs are a common failure point on auto blogs because posts often use image URLs directly.
  • If the new site uses a different path or domain, the file location may be right while the link inside the post is still wrong.

What do I copy first?

Start with the wp-content/uploads folder, because that is where WordPress stores media files by year and month. On a typical site, the path looks like wp-content/uploads/2024/08/, and that folder structure matters because many image links point straight to those paths. WordPress also keeps attachment records tied to those files, which is why the media library can break even when the files are present.

A simple file copy is only half the job. The library entry, the attachment URL, and the image markup in posts can each fail in a different way. WordPress explains this split in its moving guide and media library docs: the files live in the uploads directory, while the media item itself is tracked by WordPress as an attachment record. See the WordPress moving guide and media library documentation for the file-and-record split: Moving WordPress and Media Library.

If an auto blog pulls in many images, a full copy of the uploads folder plus the WordPress site data that knows how to read those files is a sensible starting point. A folder copy by itself can be quicker, but it can also leave you with a page full of broken image icons.

How do I move the WordPress media library?

You move the WordPress media library by copying the uploads files, preserving the folder paths, and making sure the new site can read the same attachment names. The core steps are straightforward, but the order matters because image files, file paths, and attachment URLs can fail independently.

Hand plugging a USB flash drive into a laptop
Photo: karola-g via Pexels
  1. Copy the entire wp-content/uploads directory.
    Keep the year and month folders intact, such as 2023/11 or 2024/08. This preserves the file paths that WordPress and your posts already expect.

  2. Place that folder in the new site’s matching wp-content/uploads location.
    If the folder lands anywhere else, image links that reference the old path will not resolve cleanly. The result is often a page that loads text but not the media.

  3. Check that the media files appear in the new file system.
    If the image files are there but the library still looks empty, the file copy worked but WordPress has not matched the attachments yet. That is a different problem from a missing file.

  4. Open a few posts and inspect the image source URLs.
    If the source still points at the old site domain or an old folder path, the file exists but the attachment URL is stale. The image may have moved physically while the post still points to the old address.

  5. Regenerate thumbnails after the move if image sizes are missing.
    WordPress creates several sizes from one original image, and those smaller files may not come across in a usable state. A thumbnail rebuild is the fix when featured images or small previews are blank.

  6. Test a sample of posts with images, not just the library screen.
    The library can look fine while the front end still breaks. A post with two or three images gives a better check than a single file name in the admin area.

  7. Keep the original uploads path in mind before changing folder names.
    A renamed folder can break a lot of auto blog posts at once, because those posts often use direct image URLs instead of a fresh media lookup.

A direct folder copy is quick, but it can leave attachment URLs untouched. A more careful move takes longer, but it gives you a better chance of keeping the old posts readable on day one.

Why do images break after migration?

Images break after migration because the file is only one part of the link, and the URL inside the post may still point to the old site. On auto blogs, this happens a lot because imported posts often store the image address directly instead of reattaching the file through the new media library.

Broken images can come from three places. The file may not exist in the new uploads folder. The path may be wrong even though the file exists. Or the attachment URL may still point to the old domain, so the browser asks the wrong server for the image.

That last problem is easy to miss. The media library screen may show the file name, but the front end still loads an old src value in the HTML. The result is a post that looks moved on the back end but still tries to fetch media from the old location.

For example, if the old site blocks outside image requests, a post on the new site may still call the old file host and get nothing back. The page then shows a broken image box even though the image file once existed on the source site.

A good check is to inspect the image URL in the browser. If the path includes the old domain, the issue is not the file itself. If the path is local but the file is missing, the uploads copy failed or was incomplete. That simple split saves a lot of guesswork.

How do I handle thumbnails and attachment URLs?

You handle thumbnails and attachment URLs by fixing the small image sizes and making sure WordPress points at the right file path. The original image can survive the move while the thumbnail sizes fail, and on many sites that is the part readers notice first because featured images and preview boxes are the first things they see.

Problem What it looks like What it usually means
Original image loads, thumbnail is blank Post image shows, featured image does not Small image sizes were not rebuilt
Image file exists, but page is broken HTML points to the wrong location Attachment URL still uses the old path
Media library entry exists, but file is missing Library shows a record with no usable image Uploads folder copy was incomplete
Comparison table of How do I handle thumbnails and attachment URLs?
Comparison table: How do I handle thumbnails and attachment URLs?

Attachment URLs matter because they are the address WordPress uses to point at a media file. On an auto blog, those URLs can be scattered across old posts, feed imports, and featured image fields. If the URL keeps the old domain or an old folder name, the file can sit on disk and still fail in the browser.

With the original image in place, thumbnail regeneration is the practical fix when the smaller versions are not. WordPress generates several sizes from the original image, so a move that drops those derivatives leaves the library half-working. If the gallery looks fine at one size and broken at another, thumbnail rebuild is the first thing to check.

This is one place where a tidy folder copy is not enough. The uploads folder can be perfect and the site can still display broken previews because the attachment metadata or image sizes do not match the new site’s setup. That mismatch is common on auto blogs because they collect a lot of images fast and rarely keep them hand-edited.

When is a straight uploads-folder copy enough?

A straight uploads-folder copy is enough only when the new site keeps the same file path and the posts already point at the same image URLs. That is the narrow case where the media files, the folder structure, and the attachment references all line up without extra work.

Approach Good for Weak point
Copy only wp-content/uploads Same path, same structure, small move Attachment URLs may still be stale
Copy files and then rebuild thumbnails Missing preview sizes Does not fix old image links by itself
Full media move with post checks Auto blogs with many direct image links Takes more time and more spot checks

The straight copy is limited. It works best when the source and destination sit close together in structure, such as the same WordPress install pattern and the same uploads layout. If the new site uses a different domain, a different folder name, or a different path under wp-content, the simple copy often leaves you with images that exist but do not load.

This is also the point where an auto blog differs from a hand-built blog. A manual site often uses a few featured images and a smaller number of gallery files. An auto blog can carry hundreds of direct media links across posts, which makes a tiny path mismatch turn into a sitewide problem.

What should I check before I call it done?

Check the front end, the uploads folder, and a sample of image URLs before you call the move done. The media library can look healthy in the dashboard and still fail in live posts, so the final pass has to include both the admin area and the public pages.

Use this short check:

  • Open a few old posts with multiple images.
  • Confirm the files exist in the new wp-content/uploads path.
  • Inspect one image source in the browser and compare the path to the new site.
  • Look for missing thumbnail sizes in featured image slots and archive cards.
  • Check that the media library shows the images you expect, not just empty placeholders.

A 10-minute spot check can save hours of cleanup later. If a few sample posts work, the rest of the library has a good chance of being in place. If those sample posts fail in different ways, stop and fix the file path issue before you move on to more content.

In practice, a clean move is boring: images load, thumbnails appear, and the file path matches the new site without extra browser errors. A bad move is louder: the library fills with blank previews and posts still call the old domain. That means the media moved in parts, not as one working system.

Why are images broken after moving WordPress?

Images are usually broken after moving WordPress because the file path, the attachment URL, or the thumbnail file did not make the trip correctly. The uploads folder may be present, but the page can still point to the old domain or a path that no longer exists.

This often shows up on auto blogs because they rely on many stored image links. One missing folder, one wrong path, or one stale attachment URL can break a large part of the site at once. A browser check on the image source usually shows which part failed.

How do I fix missing thumbnails after migration?

Missing thumbnails after migration are fixed by rebuilding the image sizes WordPress expects for each attachment. The original image may still be fine, but the smaller sizes used in cards, widgets, and featured areas can disappear after a move.

If the image is in the uploads folder but the thumbnail is not visible, the problem is often the generated sizes, not the original file. That is why a move can look partial even when the media library itself seems intact.

Can I copy only the uploads folder to a new site?

You can copy only the uploads folder, but that works best only when the new site uses the same file paths and the image links already match. For an auto blog, that is often not enough because many posts keep old attachment URLs in the content itself.

A folder copy is the quickest move, but not the most complete one. If the new site uses a different domain or a different uploads path, the files may arrive while the links still fail.

Drafted with AI; not yet reviewed by a person.