Inside WP Content Uploads: Find, Upload, and Rescue Missing Media

feature image

Maybe you need a direct link to an old PDF, your SFTP-uploaded product photos never showed up in WordPress, or your images broke right after a migration. I run into all three constantly, and they’re easier to fix than they look.

Inspecting and downloading your media is completely safe once you know how WordPress tracks files. Understanding this folder is also an important part of WordPress security, as it helps you spot suspicious files and prevent potential security issues.

Below, I’ll show you how to grab files from your dashboard, open wp-content/uploads on your server, and diagnose missing media fast.

TL;DR: WordPress stores uploaded media in your server’s wp-content/uploads folder, though you can find, link, or download most files right from Media > Library. Checking how library entries, File URLs, and server files line up makes troubleshooting fast. Keeping a cloud backup ready with a backup plugin helps you recover lost files, and a server-side scanner that checks the uploads folder for suspicious scripts safely.

How uploads work

Every file you upload relies on three separate pieces:

  • Attachment record: The database entry that puts the file in your Media Library.
  • File URL: The direct browser address that loads the raw image, PDF, or video.
  • Physical file: The actual file on disk inside wp-content/uploads (or external offload storage).

Almost every missing-media bug happens when these three fall out of sync. Drop a photo straight into the server folder, and WordPress ignores it because there’s no database record. Move your site without copying the files, and your Media Library shows thumbnails while visitors see broken icons.

Find and upload files

Skip your hosting panel for routine media tasks. To find, link, or download an existing file:

Media section highlighted in the WordPress admin dashboard sidebar
  • Open Media > Library and click any item.
  • In Attachment Details, hit Copy URL to clipboard (or File URL) or Download file.
  • Test the raw File URL in an incognito window, bypassing the attachment page (a WordPress wrapper that masks direct-file errors). A 404 (missing) or 403 (blocked) tells your host immediately where to look. If access is denied, see how to troubleshoot a WordPress 403 Forbidden error.

To upload a new file:

Add New Media File upload screen in the WordPress Media Library
  • Go to Media > Add Media File (WordPress 6.9.4; labels vary slightly by version or locale).
  • Check the size cap listed underneath. My test install showed 50 MB, though yours comes from the smaller of PHP’s upload_max_filesize and post_max_size, plus any WordPress or host limits. If you need to change it, check the WordPress maximum upload size settings first.
  • Upload your file and confirm the new File URL loads.

When an upload fails, test a tiny, known-good JPG or PNG first. If that succeeds, you may have hit a size or type limit; if it fails too, you’re looking at a server write error. And if you see “Sorry, you are not allowed to upload this file type.”, leave that restriction alone. WordPress blocks unsupported extensions on purpose to keep executable scripts out of your uploads folder.

Open wp-content/uploads

Check your server directly when you need to inspect raw folders, download in bulk, or verify what’s actually on disk.

cPanel hosting account login screen
File Manager icon inside the cPanel dashboard

Start by checking an existing File URL in your Media Library. A different domain points to offload storage (media stored outside your server) or a CDN. Seeing your own domain with wp-content/uploads means the files live on your server.

To open wp-content/uploads on your server:

  • cPanel File Manager: Log in to your hosting panel and go to Files > File Manager.
  • Open your document root (usually public_html), then open the WordPress installation root holding wp-admin and wp-content.
  • Navigate into wp-content/uploads.
  • SFTP: If you prefer SFTP, connect with your host’s encrypted SFTP credentials in a desktop client and browse the same path.

Seeing an empty folder usually means you’re in the wrong site directory, the path is customized, or no uploads directory exists yet.

public_html site root directory selected in cPanel File Manager
wp-content directory inside public_html in cPanel File Manager

Inside wp-content/uploads, you’ll usually see year and month folders like 2026/11, though managed hosts, older custom setups, or multisite networks can use a different path. That standard layout comes from the Organize my uploads into month- and year-based folders checkbox under Settings > Media.

On WordPress 6.9.4, a PNG uploaded with that box checked landed at /wp-content/uploads/2026/11/proof-dated-media.png. After I unchecked it and saved, the next PNG saved to /wp-content/uploads/proof-flat-media.png, while the older dated URL kept working fine.

📝 Note: Unchecking date folders only affects future uploads and leaves existing URLs alone. Copy a file’s File URL from the Media Library first so you don’t waste time hunting through monthly folders.

Fix upload errors

Once you compare your Media Library against the physical folder, most upload errors are quick to pin down.

FileZilla quickconnect bar for logging into a server via SFTP

SFTP files missing

Uploading over SFTP puts files on disk, yet WordPress ignores them because there’s no database attachment record.

public_html directory open in the FileZilla remote site pane
WordPress plugin screen for registering server-uploaded media files into the Media Library
  • For a handful of files, upload them through your dashboard and update the page URLs.
  • For a bulk import, ask your host or developer to run the WP-CLI (WordPress’s command-line tool) media import command. It registers files in the library and defaults to copying the source file, though it also has a separate option for importing local files in place.
  • Check for duplicate files, verify the resulting URLs, and update post references before cleaning up originals.

Upload write errors

Seeing “Unable to create directory … Is its parent directory writable by the server?” means WordPress can’t write to disk.

  • Run the tiny-JPG test to confirm it’s a site-wide block.
  • Send the exact error and folder path to your host.
  • Ask them to check WordPress file permissions, ownership, and free disk space.

Skip any tutorial telling you to apply blanket permission changes on a live site. Loosening permissions blindly leaves your uploads folder open to unauthorized writes and malicious scripts.

Broken migration images

When an image sits in your Media Library while the live page shows a broken icon:

  • Compare its File URL against your current domain and server folder.
  • Back up your files and database before changing anything, and test fixes on a staging site (a separate test copy) first when your host offers one.
  • Restore missing files on disk from a backup, or run migration-aware URL updates if URLs still point to your old domain. When Media Library records and page references are missing alongside the files on disk, check the database too.
  • Afterward, verify both the direct File URL and a live page that embeds it.

Missing files, no backup

When your site is down with no backup:

  • Call your host first to restore account access and ask about server-level snapshots.
  • Check with anyone who managed your old host or offload storage.
  • Search local computers for original photos to re-upload later.
  • Save whatever files and database tables remain before attempting any restore.

Having a usable backup that includes your uploads makes recovery far simpler. BlogVault’s incremental cloud backups let you restore straight from an existing copy once that backup is in place.

📝 Note: Spot unexpected executable files or unfamiliar scripts inside wp-content/uploads? Don’t delete them by hand. Manual cleanup almost always misses hidden WordPress backdoors tucked elsewhere on your server. Run a server-side malware scan like MalCare’s to inspect your files safely and see what’s actually compromised.

FAQs

Can I browse the uploads URL?

Usually no. Visiting yoursite.com/wp-content/uploads often returns a 403 or 404 even when direct image links work. Folder indexing, access control, and public file delivery are separate settings, and hosts disable directory listing on purpose so attackers can’t snoop through your file structure. Browse via your Media Library, File Manager, or SFTP instead.

Why are there duplicate images?

WordPress creates resized copies (image derivatives) for different layouts, including a default 150 by 150 pixel thumbnail and a -scaled copy for images wider than 2,560 pixels (a dimension threshold separate from your byte-based upload size limit). Don’t delete these in File Manager, as live pages and database records may still point to them.

Is wp-content the same folder?

No, one sits inside the other. wp-content holds your themes, plugins, and uploads side by side, while uploads is the subfolder inside it where WordPress stores media files.

Can viewing uploads break my site?

No. Browsing your Media Library or downloading copies leaves server files untouched. Renaming, moving, replacing, or deleting files directly in File Manager or SFTP is what breaks live pages.

Do I need a paid plugin?

No. Any user with the right WordPress role can use the Media Library for free, and standard hosting plans already include File Manager or SFTP access.

Conclusion

Once you separate the Attachment record, File URL, and physical file in your head, wp-content/uploads stops feeling like a black box. Stick to Media > Library for everyday uploads and links, and save File Manager or SFTP for bulk checks and deeper troubleshooting.

Before you rename or move files on your server, make sure you’ve got a recent backup you can actually restore from. Pairing BlogVault’s incremental cloud backups with MalCare’s server-side malware scanner keeps your media folder recoverable and lets you catch suspicious scripts before they spread.

Akshat is the Founder and CEO of BlogVault, MalCare, and WP Remote. These WordPress plugins, designed for complete website management, allows 100,000+ customers to build and manage high-performance websites with ease.