KDA Custom Upload Structure
v1.3.5deniskey · 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+
贡献者
截图
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 ofwp-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 4242-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.phpstub, file
permissions are normalized, and a full backup is required before any move.
All behaviour is controlled from Settings Upload Structure.

