This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Media Organiser


This plugin allows attachments to be organised into folders on the server.

Attachments are physically moved into folders, and all references to them in pages and posts are updated accordingly.

Media Organiser was originally forked from version 1.4.2 of Media File Manager by Atsushi Ueda, and has been largely rewritten since then. It does not yet have the ‘media selector’ function of Media File Manager — in fact, the ‘new’ interface to choosing media is so poorly documented that I can’t work out how to use it. Any ideas?

There is also a tool on the plugin’s Settings page which allows attachments
whose files are missing from the file system to be tidied up.


  • MySQL database engine that does transactions, otherwise things will get out of whack of something goes wrong when renaming files. Information on changing engines can be found on The tables that are affected are wp_posts and wp_postmeta.


Icons adapted from

Known issues

  • May not work on sites hosted on a Windows server — haven’t checked the use of directory separators yet.
  • Does database transactions — so requires a database engine that can do commit/rollback, such as InnoDB.
  • Does its best to make changes atomic, but things could go wrong if something changes in the middle of renaming files.
  • No internationalization (yet).
  • Doesn’t check if posts are already locked for editing before making changes to them, so it’s best to move and rename attachments when you’re sure that no-one else is working on any posts or pages that use those attachments.


Install the plugin in the usual way and activate it.

Administrators should get permission to use the plug-in automatically. Go to Settings / Media Organiser to give other roles permission to use it if required.


ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

योगदानकर्ते आणि विकसक

“Media Organiser” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.


भाषांतर करा “Media Organiser” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी


  • Fixed an obscure bug by giving global variables even longer names. I really
    need to avoid globals.
  • Tested with WordPress 5.0.3.


  • Added a feature on the Settings pages to allow any post attachments with
    missing files to be deleted.


  • Tested with WordPress 5.0.1.


  • Tested with WordPress 4.9.1.


  • Added code to cope with duplicated secondary files.
  • Documented requirement for transaction-capable database engine.
  • Automatically grant capabilities to administrators.
  • Better CSS for small screens.


  • Disable checkboxes if moving is not possible (i.e. name clash)
  • Improvements to CSS and HTML
  • Tweaks to documentation.


  • Media Organiser admin page largely reworked. Media Selector section is not yet done.
  • Meets current WordPress standards: uploaded to WordPress Plugin Directory.


  • Forked from Media File Manager 1.4.2