This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Physical Custom Upload Folder for Real Media Library


Upload files in your media library to a custom folder structure on your file system created with Real Media Library folders. With this plugin you can determine where your uploads should be stored. This can also have some SEO benefits for your website.

For example, if you have created a folder named Products/ in your media library (using Real Media Library), your uploads will be stored in wp-content/uploads/Products/ instead of, for example, wp-content/uploads/2020/03/.

This plugin doesn’t care about the following:

  • Redirection when renaming files (if you or another website is already using an uploaded image, the URL becomes invalid without redirection to the new location)
  • Drag and drop files to another folder in the Real Media Library (the URL of the image does not change)
  • The import of a Real Media Library folder structure is ignored and the files are not saved in a custom upload folder
  • Limit of 255 characters for the path of a folder structure plus file name
  • No support for WordPress multi-sites

If you want a full-featured solution for a custom folder structure on your file system with Real Media Library, you should look at the Real Physical Media add-on. It has solved all of the above mentioned limitations, is performant and stable.

This plugin is a free micro add-on for Real Media Library with limited support.


  1. Go to your WordPress backend
  2. Navigate to „Plugins“ > „Add New“
  3. Search for „Physical Custom Upload Folder for Real Media Library“
  4. Install and activate the plugin
  5. Install Real Media Library from
  6. Upload files to your media library!


How does this plugin work?

The steps are simple: Activate both plugins (Real Media Library and this one), navigate to Media Library > Add New. Simply select the destination folder and upload a new file. The newly uploaded file is physically placed in your absolute Real Media Library path. This also works in the media library grid mode: Select a folder in the folder tree and upload a new file.


9. August 2023.
Depends of the Real Media Library plugin which is not free.
9. Septembar 2019.
The task was to migrate a Joomla! page to WordPress and the customers were not happy with WordPress´ media file management. They used to create a physical folder per blog post, add the images for this post and create a slider out of all images in this folder. WordPress had to be tricked into that sort of media management with the help of @mguenter´s plugins „Real Media Library“ (free) „Physical Custom Upload Folder“ (premium) and Real Thumbnail Generator“ (premium). All 3 plugins do what was promised perfectly well. They integrate into the WordPress Media Library flawlessly. Plus, they look good and are user friendly. The support on the developer´s page is very fast and very competent. 5 stars duly earned!
13. Juli 2018. 2 replies
Works great! Would like an option to physically move already uploaded files though. I don’t need URL rewriting, it’s just easier to upload a batch of files, then go into Media and drag & drop where you want them to go.
6. Mart 2018. 1 reply
Drag and drop – multiupload directly to the custom folder. Its works better as expected. Danke!
3. Decembar 2017.
This works fantastically! However, keep in mind, it only seems to work if the default wp-content/uploads folder is used. I was not able to get it working on a custom upload directory location. Thank you!!! Update — Got this working how I needed with a symbolic link. Ex: ln -s /path/to/custom/foldername /path/to/wordpress/wp-content/uploads
Read all 7 reviews

Contributors & Developers

“Physical Custom Upload Folder for Real Media Library” is open source software. The following people have contributed to this plugin.




  • Added link to PRO version in plugin row
  • Fixed bug with PHP 7.3 (deprecation notice in error log)


  • Fixed bug with pathes generation
  • Removed unnecessery code blocks


  • Fixed incompatibility with RML version 2.8.2

1.0.1 & 1.0.2

  • Failure version commits


  • Initial Release.