[wp-trac] [WordPress Trac] #23755: Old /files/ support in new installs

WordPress Trac noreply at wordpress.org
Sun Oct 4 21:34:58 UTC 2015


#23755: Old /files/ support in new installs
--------------------------+------------------------
 Reporter:  unsalkorkmaz  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Upload        |     Version:
 Severity:  minor         |  Resolution:  wontfix
 Keywords:  needs-patch   |     Focuses:  multisite
--------------------------+------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:3 Ipstenu]:
 > 2) .htaccess redirect that site's /files/ since it ''should'' be the
 only one that has that issue (everyone else is 3.5 native)

 This is key and is similar to moving other types of sites into a WordPress
 environment.

 I think having it
 [https://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite
 documented in the codex] is the right solution here rather than attempting
 to detect and provide an automatic fix in core.

 `RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-
 content/blogs.dir/N/files/$2 [L]`.

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


More information about the wp-trac mailing list