About this plugin
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
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
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
g. 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.