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

WordPress Trac noreply at wordpress.org
Sun Apr 16 14:50:44 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              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by johnjamesjacoby):

 Hi Daniel, thanks for taking the time, and congratulations on your first
 ticket!

 I have a few questions I'd like to ask, to clarify this report and help
 researchers narrow the cause.

 Where are you seeing image URLs not updating?
 * in posts contents?
 * when editing images?
 * Do galleries of images work?

 Do you have database access, and are you able to see if the database has
 the correct values?

 Off the top of my head, it's plausible that primary-site reassignment
 isn't directly exposed in the UI for exactly this reason, but it's been a
 while since I've needed to do this.

 You can probably use a WP CLI find/replace to correct the database values,
 but you'll also want to disable and purge any cached data that might be
 associated with your installation afterwards.

 A very succinct step-by-step to duplicate the problem (with VVV or some
 other common installation type) is also useful. If you have any additional
 information, please include it in your reply.

 Thanks and congrats again!

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


More information about the wp-trac mailing list