[WordPress] 外掛分享: Rootstuff Media Folders

首頁 › 外掛目錄 › Rootstuff Media Folders
WordPress 外掛 Rootstuff Media Folders 的封面圖片
全新外掛
安裝啟用
—
尚無評分
9 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.2.3 上架:2026-11-12

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Rootstuff Media Folders」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Most media folder plugins are virtual: they organize the media library screen but never touch the files on your server, which stay in year/month folders. Rootstuff Media Folders is different — folders are real directories inside wp-content/uploads, and the plugin keeps WordPress fully consistent when files move:

Moves the original file and every generated thumbnail size
Updates _wp_attached_file and attachment metadata
Updates the attachment GUID (optional)
Rewrites file URLs in your post content (optional)
Creates 301 redirects from the old file location (optional), served automatically for any moved file
Uploads go directly into the folder selected in the tree — no upload-then-move step; a default upload folder can also be set for everywhere else

Because the filesystem itself is the source of truth, there is no folder taxonomy to fall out of sync — what you see is what is actually on your server. This is ideal for sites migrated from static HTML where files must keep a meaningful directory structure.
Features

Folder tree sidebar in the media library (grid and list mode) with expandable nested folders and file counts
Live folder search that filters the tree as you type, with match highlighting (Enter opens the first match)
Drag and drop: drag files onto a folder to physically move them (multi-select supported); drag folders onto folders to restructure the tree
Inline management: create, rename, and delete folders right in the tree — no page reloads
Folder Settings screen (under Media) with plugin settings and the redirect log
Folder filter dropdown in the media modal (post editor)
Move to folder… bulk action in the media library list view
Folder field on every attachment’s edit screen and in the media modal
Folder column in the media library list table
Renaming a folder updates every attachment inside it (at any depth) and adds a single prefix redirect
Redirect chains are collapsed automatically (A→B then B→C becomes A→C)
Developer hooks: rsmf_attachment_moved, rsmf_folder_created, rsmf_folder_renamed, rsmf_folder_deleted, rsmf_upload_folder, rsmf_move_capability, rsmf_manage_capability

What it deliberately does not do

It never overwrites an existing file — moves that would collide are skipped with a clear error.
Only empty folders can be deleted.
Post meta is not rewritten automatically (it may contain serialized data). Use the rsmf_attachment_moved action to update custom storage.

延伸相關外掛

文章
Filter
Mastodon