內容簡介
Physical Media Folders 是一款 WordPress 媒體資料夾外掛,能在 /wp-content/uploads 中創建實際的目錄。使用者可以直接在選定的資料夾中上傳新檔案,並且這些檔案的公共媒體 URL 會包含物理資料夾路徑,方便管理與組織媒體檔案。
【主要功能】
• 在 /wp-content/uploads 中創建實際資料夾
• 支援創建巢狀資料夾結構
• 瀏覽現有上傳目錄的資料夾樹
• 上傳新媒體直接進入選定的資料夾
• 在最終媒體 URL 中包含資料夾路徑
• 將上傳的檔案註冊至 WordPress 媒體庫
外掛標籤
開發者團隊
原文外掛簡介
Physical Media Folders is a WordPress media folder plugin that creates real directories inside /wp-content/uploads.
Use it to create physical media folders, browse existing upload directories, select a destination folder, and upload new files directly into that location.
The selected directory becomes part of the stored file path and public media URL.
For example, a file uploaded into a folder named press-kit can be stored at:
/wp-content/uploads/press-kit/company-profile.pdf
Its public URL will also include the physical folder path:
https://example.com/wp-content/uploads/press-kit/company-profile.pdf
Unlike virtual media folder plugins that primarily organize attachments using database records, taxonomies, or metadata, Physical Media Folders works with actual directories on the server.
The folder structure shown by the plugin reflects the physical structure available through FTP, hosting file managers, server backups, and other filesystem tools.
Uploaded files are also registered as standard WordPress Media Library attachments, allowing them to remain available through the regular WordPress media workflow.
Create physical folders in WordPress uploads
Physical Media Folders lets authorized WordPress users create meaningful directories inside the active uploads location.
Folders can be used to organize media by:
Client
Project
Department
Product
Campaign
Documentation type
Press resource
Course module
Content category
Nested folder structures can also be created when more detailed organization is required.
Examples include:
/wp-content/uploads/clients/client-name/
/wp-content/uploads/products/product-name/
/wp-content/uploads/courses/module-1/
/wp-content/uploads/press-kit/brand-assets/
Upload media directly into a selected folder
The plugin provides a dedicated screen under:
Media > Physical Folders
From this screen, users can:
Browse existing directories under the WordPress uploads folder.
Create a new physical folder.
Create a nested folder structure.
Select an upload destination.
Choose a file from their computer.
Upload the file directly into the selected directory.
The uploaded file is then registered as a normal WordPress attachment.
For supported image files, WordPress can also generate its standard attachment metadata and image sizes.
Physical folders compared with virtual media folders
Many WordPress media organization plugins create virtual folders.
Virtual folders can be useful for organizing attachments inside the WordPress Dashboard, but they do not always change where the files are physically stored on the server.
Physical Media Folders uses real filesystem directories.
This means the folder structure visible through the plugin also exists inside /wp-content/uploads.
Physical folders may be useful when you need:
Predictable upload paths
Meaningful directory names
Clean, path-based media URLs
Filesystem organization visible through FTP
Easier navigation through a hosting file manager
Separation of files by client, project, product, or department
A folder structure that remains visible outside WordPress
Clean file paths and predictable media URLs
Files uploaded through the plugin retain the selected folder as part of their path.
Instead of relying only on date-based upload directories, you can create paths that describe the purpose of the file.
For example:
/uploads/press-kit/logo.png
/uploads/client-a/contracts/agreement.pdf
/uploads/products/product-one/manual.pdf
/uploads/training/module-two/video.mp4
This can make file locations easier to understand for administrators, developers, content editors, and teams working with server files.
Key features
Create real folders inside /wp-content/uploads
Create nested physical folder structures
Browse existing upload directories in a folder tree
Select a destination folder before uploading
Upload new media directly into the selected physical directory
Include the folder path in the final media URL
Register uploaded files in the WordPress Media Library
Generate standard WordPress image attachment metadata
Follow WordPress file-type restrictions
Follow the configured WordPress upload-size limit
Restrict folder operations to users with upload permissions
Use nonce verification for administrative actions
Validate paths to prevent directory traversal
Prevent navigation through symbolic links
Use prefixed plugin identifiers to reduce conflicts
Provide a lightweight, focused administration interface
Require no separate configuration screen
WordPress-native upload handling
Physical Media Folders uses WordPress upload and attachment APIs for file processing.
The plugin respects:
WordPress user capabilities
WordPress upload permissions
Allowed MIME types
Maximum upload sizes
Attachment creation
Image metadata generation
Existing upload-directory settings
This helps uploaded files remain compatible with the standard Media Library workflow.
Current limitations
The current version focuses on creating folders and uploading new files into selected physical directories.
It does not currently:
Automatically move existing Media Library files
Move existing attachments between folders
Rename existing folders
Delete existing folders
Filter the standard Media Library grid by physical folder
Replace the default WordPress media modal
Automatically register files uploaded through FTP
Synchronize manually created filesystem files
Provide confirmed WordPress Multisite support
Guarantee compatibility with every CDN or media-offloading plugin
These limitations are stated clearly so administrators can evaluate whether the plugin matches their workflow.
