跳到内容

KDA Custom Upload Structure

v1.3.5

deniskey · 2026年7月24日 上架

Store uploads outside wp-content in a custom folder, organized by post type. Includes a migration tool for existing media.

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

贡献者

截图

General settings: custom path, organization options and current directory info.
General settings: custom path, organization options and current directory info.
Migration tab: forward, reverse and retry tools with a dry run.
Migration tab: forward, reverse and retry tools with a dry run.

Custom Upload Structure lets you store uploaded files outside the standard
wp-content/uploads directory — for example in assets/public/ at the site
root — and organize them the way you want.

Features:

  • Custom upload location. Store all media in any folder relative to the
    site root instead of wp-content/uploads.
  • Organize by post type. Files are placed into subfolders named after the
    post type they belong to (e.g. assets/public/films/). Unattached files go
    into a configurable “others” subfolder.
  • Year / month folders. Keep the default WordPress year/month structure
    inside your custom folder.
  • Transliteration. Convert Cyrillic and other non-Latin file names to
    Latin characters on upload (e.g. a Cyrillic file name is converted to its
    Latin equivalent).
  • Post ID prefix. Optionally prefix each file name with the ID of the post
    it is uploaded to (e.g. post 42 42-photo.jpg). Off by default.
  • Migration tool. Move existing media between the default folder and your
    custom structure (and back) without breaking the Media Library. Includes a
    dry run, optional replacement of old URLs inside post content, and a retry
    mode for failed items.
  • Safety. The upload folder is protected with an index.php stub, file
    permissions are normalized, and a full backup is required before any move.

All behaviour is controlled from Settings Upload Structure.

Plums

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

导航

说明

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

© 2026 Plums