Skip to content
GPLWP Guides

How to manage files in WordPress

Utilities Time About 20 minutes 6 steps Updated 16 Nov 2026

UTILITIES
The short answer

WordPress handles images, documents, audio and video through the Media Library, but it does not provide a general file manager for every site folder. Use SFTP or your host’s file manager for theme, plugin and server files; use a plugin when your team needs folders, previews, editing or permissions inside WordPress.

The route
  1. 01Decide what files you need to manage
  2. 02Upload media through WordPress
  3. 03Organise and remove media carefully
  4. 04Use SFTP for site files
  5. 05Edit code only with a recovery plan
  6. 06Take the fast team route

What you need

  • Administrator or editor access to WordPress
  • Hosting control-panel or SFTP access for site files
  • A backup before changing theme, plugin or server files

Decide what files you need to manage

Use the WordPress Media Library for images, PDFs, documents, audio and video that you want to attach to content or make available through a file link. Use SFTP or your hosting control panel for theme files, plugin files, configuration files and other folders on the server.

WordPress stores uploaded media separately from the rest of the installation, so choosing the right route first prevents a common mistake: uploading a file to the server and expecting it to appear automatically in the Media Library.

Upload media through WordPress

Go to Media > Add New, or open Media > Library and select Add New. Choose files from your computer or drag them into the upload area. You can also upload media while editing a post or page.

After the upload, open the item and check its title, alternative text, caption, description and file URL. WordPress can also crop, rotate and scale images from the media editing screen.

Organise and remove media carefully

Use clear filenames before uploading, then add useful titles and alternative text in the attachment details. The Media Library lets you filter, sort, edit, view and permanently delete individual files, and it supports bulk deletion.

Deleting a media item removes the attachment from WordPress, but it can also break images, downloads or links already used on your site. Check where a file is used before deleting it, and keep a backup if the file matters.

Use SFTP for site files

For theme, plugin or server files, connect with SFTP or open the file manager supplied by your hosting company. The usual upload directory for WordPress media is wp-content/uploads, often divided into year and month folders. Uploading directly there does not normally register the file as a Media Library item, so use the dashboard when the file needs WordPress attachment data.

Do not overwrite files blindly. Download a copy first, change one file at a time, and confirm the file permissions and owner are correct. If uploads suddenly fail with a message that WordPress cannot move the file, check the uploads directory permissions and whether the expected year/month folder can be created.

Edit code only with a recovery plan

WordPress includes theme and plugin file editors for writable PHP and CSS files, but the changes take effect immediately. Make a backup before editing, and prefer a local editor plus SFTP for anything beyond a small, well-understood change.

A syntax error can take down the front end or dashboard. WordPress documentation recommends backing up first, and you can disable the built-in file editors with the DISALLOW_FILE_EDIT setting when administrators should not edit code from the dashboard.

Take the fast team route

If one administrator only needs to upload media, the built-in Media Library is usually enough and you do not need a plugin. If several users need shared folders, file previews, image editing, front-end access or different permissions, install File Manager Plugin For WordPress instead of passing SFTP credentials around.

It adds a file manager inside the dashboard for viewing, editing, creating, uploading and organising files, with user and group permissions, an optional front-end manager, previews for images, audio and video, and built-in image editing. Review its permissions carefully before giving access, and keep SFTP available as the recovery route if the dashboard becomes inaccessible.

The fast route

Let File Manager Plugin For WordPress do it

Dashboard and front-end file management with permissions, previews, and image editing for teams sharing WordPress files.

Get File Manager Plugin For WordPress

Sources

  1. wordpress.org /documentation/article/use-image-and-file-attachments/?utm_s…
  2. wordpress.org /documentation/article/media-library-screen/?utm_source=open…
  3. developer.wordpress.org /advanced-administration/security/hardening/?utm_source=open…
  4. developer.wordpress.org /advanced-administration/wordpress/edit-files/?utm_source=op…

Questions

Does WordPress have a built-in file manager?
No, WordPress has a Media Library rather than a general file manager for every folder in the installation. It is suitable for uploading and managing media such as images, documents, audio and video. For theme, plugin and server files, use SFTP or your hosting control panel, or install a file manager plugin if users need that access from WordPress.
Why do files uploaded by FTP not appear in the Media Library?
Files uploaded by FTP or SFTP do not usually appear in the Media Library because that upload bypasses WordPress’s attachment records. The file may still be available at its server URL, but it will not have normal Media Library metadata or selection controls. Upload through Media > Add New when the file needs to behave like a WordPress media item.
Where are WordPress uploads stored?
WordPress normally stores uploads in the <code>wp-content/uploads</code> directory, commonly inside year and month subfolders. The exact location can be changed by hosting or site configuration, so check the Media settings and the file URL before moving anything. Moving files without updating their references can create broken images and downloads.
What should I do when WordPress cannot move an uploaded file?
Check that the uploads directory and its year/month subfolder exist and are writable by the web server, then check available storage and the server’s upload limits. Reload the Media Library before trying again because an upload may have succeeded despite an error message. If the problem started after a server move or permission change, ask the host to correct ownership and permissions.