Organize your WordPress Media Library
When you have a fresh install of WordPress, finding files in your WordPress media library is easy. It’s like moving into a new apartment – everything is clean and in its right place.
Then you start uploading more and more files…and suddenly you can’t find your old files in the black hole that is your unorganized WordPress media library. That’s when you need the help of a plugin to wrangle your files.
Media Library Folders Pro helps you add some structure to your WordPress media library by setting you up with actual folders just like on your operating system, as well as helpful categories that you can assign your files to.
In the following sections, you’ll learn exactly how to use this plugin to organize your WordPress media library.
Options for Organizing Your WordPress Media Library
Typically, you have two options for organizing your WordPress media library:
- Folders – use the familiar folder structure offered by operating systems to drag and drop your files as needed.
- Taxonomies – add categories or tags to individual images to make it easier to find them later on.
You’ll find plenty of people on both sides saying one method is preferable to another for organizing the WordPress media library.
If you have a fairly small media library, I think it just comes down to personal preference. But if you’re working with hundreds or thousands of files, folders offer an easier approach for managing large media libraries, as well as performance improvements from lowering the number of files in each folder.
The neat thing about Media Library Folders Pro, though, is that it sets you up with both folders and categories. You can either choose your preferred method or use both at the same time for even more control.
And because the plugin creates actual folders that you can sync with your server, you can also use your favorite FTP program to organize all of your files.
In the next sections, I’ll show you how to use Media Library Folders Pro to organize your media library via both methods.
How to Organize WordPress Media Library With Folders
Let’s start off with how to add folders to your WordPress media library. Once you install and activate Media Library Folders Pro, you’ll get a brand new Media Library Folders Pro tab:
This tab is where you’ll be able to interact with your folders – your regular media library interface doesn’t change.
When you click on the new menu option, you’ll see your folder layout. By default, this is the full list of every single folder in your …wp-content/uploads folder:
You can browse these folders identically to how you interact with the folders on your operating system. For example, if you want to find your uploads from June 2017, you’d just expand the folder structure to find the relevant folder:
Creating a New Media Folder
By default, WordPress organizes all of your uploads in folders named for months and years. That might be helpful in the moment…but are you really going to remember which folder an image is in a year down the road?
That’s where it comes in handy to add your own folders. To do that, all you need to do is click the Add Folder button:
And now you can see your brand new folder in the file tree:
You can repeat the process as many times as needed to create additional folders or create subfolders.
Organizing Existing Files Into Folders via WordPress Dashboard
When you add new media through the Media Library Folders Pro interface, you can upload files directly to your chosen folder.
But what about organizing the existing files in your library?
To do that, all you need to do is drag and drop files exactly like you would on your operating system. For example, to move media from WordPress’ default folder structure to your new folder, all you need to do is drag and drop:
You can choose to either completely move the file or copy the file.
This distinction is important because the actual URL of your media will change if you move it. The plugin will automatically update the URL in posts and pages – but it might cause issues if you use the file in third-party galleries or other plugins.
If you copy the file, on the other hand, the plugin will leave the existing version intact, so there’s no risk of breaking any hard-coded links (but you will have two duplicate files on your server as a result).
Finally, if you need to move multiple files at the same time, you can select all files or manually check multiple files and then drag and drop them all in one fell swoop:
Organizing Existing Media Into Folders via FTP
If you’re dealing with an especially large media library, you might not want to do everything manually through the WordPress interface.
This is where Media Library Folders Pro’s server sync feature comes in handy.
Any folder that you create via the plugin will also show up when you browse your server via FTP. And vice versa, you can also create folders via FTP that show up in Media Library Folders Pro:
Likewise, you can use your FTP program to quickly bulk upload files to your folders or move files between folders.
To do that, use your FTP program like normal. Then, you can either check for new folders that you added via FTP by clicking on Check for New Folders. Or, you can sync the contents of a specific folder with your server by clicking the Sync button:
If you’re using FTP to upload files, we also recommend the Add From Server plugin as a good option to register those files with your media library.
How to Organize WordPress Media Library With Categories
As I mentioned at the beginning, the WordPress Media Library Pro doesn’t limit you to folders. You can also use categories to assign taxonomies to your images.
What’s neat about this feature is that it fully syncs with the Enhanced Media Library plugin. So if you’ve previously created categories using Enhanced Media Library, you can still use those exact same categories within Media Library Folders Pro.
As for assigning files to categories, you can do that in a couple of different ways.
First, you can use the Media Library Folders Pro interface by clicking on Categories and then using the submenu to assign the checked categories to the images that you’ve selected:
Or, you can use the same method as Enhanced Media Library and assign categories to files on each file’s individual page:
Viewing Files by Category
To view files by categories instead of folders, you can click the Categories button, select your desired category in the submenu, and then click View by Category:
You can also use this same method to quickly convert categories to folders by selecting all of the files in a category and dragging them to a new folder.
How to Insert Media Into Posts and Pages
To wrap things up, let me quickly show you how to actually insert your newly organized files into your WordPress posts and pages.
Media Library Folders Pro lets you use the normal Add Media button to access the Media Library Folders Pro interface:
From there, you can either use folders to find your files or use the category functionality outlined above. And you can also upload new files as needed, just like with the regular WordPress media library.
And that’s it for the quick and dirty guide to organizing your WordPress media library with folders and/or categories!