跳到内容

Rootstuff Media Folders

v1.2.3

atomjb · 2026年11月13日 上架

Organize your media library into real folders on the server — not virtual ones. Files are physically moved and every database path is updated.

正在使用
10 以下
评分
暂无
累计下载
151
最近更新
2026年11月13日
需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+

贡献者

截图

The folder tree beside the media library grid. Folders are real directories inside wp-content/uploads; selecting one shows the files that are physically inside it.
The folder tree beside the media library grid. Folders are real directories inside wp-content/uploads; selecting one shows the files that are physically inside it.
Live folder search filters the tree as you type, with match highlighting at any depth.
Live folder search filters the tree as you type, with match highlighting at any depth.
The Folder field in the attachment details modal. Changing it moves the file on the server, updates database paths, and creates a 301 redirect.
The Folder field in the attachment details modal. Changing it moves the file on the server, updates database paths, and creates a 301 redirect.
The Folder Settings screen: move behavior options and the redirect log, where rules can be deleted.
The Folder Settings screen: move behavior options and the redirect log, where rules can be deleted.
List mode with the folder tree, a folder filter, and a sortable folder column.
List mode with the folder tree, a folder filter, and a sortable folder column.

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 (AB then BC becomes AC)
  • 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums