WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a blog with all media stored in a folder called upload (organize media was disabled), I've activate it to organize new uploads by date. But how can i organize old files?

I want this because i need to migrate the site to a Wordpress MU site, and i need to have files organizated.

share|improve this question
up vote 2 down vote accepted

Thans but I've found the solution, what it need to do is to edit the site (Network -> Sites -> Edit -> Settings ) and change the following parameters:

Uploads Use Yearmonth Folders   0
Upload Path                     wp-content/blogs.dir/1/uploads
Fileupload Url                  http://www.mydomain.com/myblog/uploads
share|improve this answer

Maybe this plugin can help: http://wordpress.org/extend/plugins/wp-filemanager/

share|improve this answer
An answer should be more than just a link to an external site. Please describe at least what the plugin does. And screenshots are upvote magnets. ;) – toscho Jun 14 '12 at 10:11
Thanks, but i wanted is to migrate files easily and keeping the one folder configuration. – Skatox Jun 18 '12 at 12:57

You can hard-code this change for all your sites like this: 1. Create a new php file with a path like this: wp-content/mu-plugins/no_date_assets.php If the wp-content/mu-plugins folder does not already exist, you will have to manually create it. 2. In that file paste the following:


$uploads_use_yearmonth_folders = get_option( 'uploads_use_yearmonth_folders', 1 );

if ( $uploads_use_yearmonth_folders ) {
    update_option( 'uploads_use_yearmonth_folders', 0 );

That's all! This will make all future uploads not use the year/month folders.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.