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

WordPress Trac noreply at wordpress.org
Sun Apr 16 14:08:12 UTC 2017


#40466: 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 files
 display the wordpress subdirectory on the urls.

 '''Steps''':

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

 However, image urls contain wordpress directory.

 The urls are like this:

 {{{
 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/40466>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list