[wp-trac] [WordPress Trac] #40465: Multisite fails to rewrite upload path on main site

WordPress Trac noreply at wordpress.org
Sun Apr 16 13:33:35 UTC 2017


#40465: Multisite fails to rewrite upload path on main site
--------------------------------+-----------------------------
 Reporter:  daniel berhane      |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.7.3
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 This is a follow-up to #12002.

 After removing the /blog/ slug On options-permalink.php, the media filed
 display the wordpress subdirectory on the urls.

 '''Steps''':

 Install wordpress in its own directory
 Activate multisite with subsites
 Switch one of thd subsite into becoming main site
 Everything works smoothly including images

 However, image urls contain wordpress directory.

 {{{

 Domain.com/wordpress/wp-content/uploads/image-title.jpg
 }}}


 Instead of

 {{{
 Domain.com/wp-content/uploads/image-title.jpg
 }}}


 Is this the way it is designed to work? Or a bug?
 Thanks.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40465>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list