[wp-trac] [WordPress Trac] #18272: Can not define media upload path/URL in multisite

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 22:56:44 UTC 2011


#18272: Can not define media upload path/URL in multisite
--------------------------+-----------------------------
 Reporter:  xtraxtra      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.2.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 We have a multisite installation with five subdomains.  We do not wish to
 use the default /files/yyyy/mm/filename.ext structure for uploaded media.

 In Network Admin > Sites > Edit (under a subdomain) > Settings, you can
 set:
 Upload Path (eg /var/www/pathonserver)
 Upload Url Path (eg http://www.domain.com/pathonserver)
 Fileupload Url (eg http://www.domain.com/pathonserver)

 However WordPress does not recognise these settings and uses the default
 format.

 If you comment out the last line on wp-includes/ms-settings.php (ie
 ms_upload_constants()), it does recognise the settings.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18272>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list