Plugin Directory

Physical Custom Upload Folder for Real Media Library

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 devowl.io
  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.


2023 年 8 月 9 日
Depends of the Real Media Library plugin which is not free.
2019 年 9 月 9 日
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!
2018 年 7 月 13 日 2 則留言
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.
2018 年 3 月 6 日 1 則留言
Drag and drop – multiupload directly to the custom folder. Its works better as expected. Danke!
2017 年 12 月 3 日
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
閱讀全部 7 則使用者評論


以下人員參與了開源軟體〈Physical Custom Upload Folder for Real Media Library〉的開發相關工作。




  • 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.