[wp-trac] [WordPress Trac] #23483: Incorrect image URL for subsites when using UPLOADS constant on multisite subdirectory installation

WordPress Trac noreply at wordpress.org
Fri Jul 7 22:56:57 UTC 2017


#23483: Incorrect image URL for subsites when using UPLOADS constant on multisite
subdirectory installation
------------------------------+------------------------------
 Reporter:  creativeinfusion  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Upload            |     Version:  3.5.1
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  multisite
------------------------------+------------------------------

Comment (by natejacobson):

 This issue surfaced four years ago, but I'm experiencing
 @creativeinfusion's issue now in 2017. Following all the references above,
 it's unclear to me what the solution was.

 The site subdirectory in multisite is present in the attachment url when a
 custom UPLOADS directory is specified. The upload succeeds, but the
 attachment url is incorrect and attachments fail to load.

 Is a RewriteRule the only hope?

 Nate

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23483#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list