sage icon indicating copy to clipboard operation
sage copied to clipboard

Image Paths in Multisite are "Not Found"

Open lindleywhite opened this issue 13 years ago • 7 comments

I believe this is a Roots issue. When working with Roots child themes on a multisite and the uploads folder being rewritten to /assets, the images in the sister sites do not show up anywhere. They are being "Not Found" ss 2013-04-05 at 01 15 27

I believe this is a rewrite issue. Can anyone offer any advice?

lindleywhite avatar Apr 05 '13 18:04 lindleywhite

probably just a permissions issue on the assets directory - try searching for past issues related to this

retlehs avatar Apr 05 '13 19:04 retlehs

Generally has been my experience that changing file paths on Multisite doesn't work. You may be better off reverting to standard child paths in network admin

jdcauley avatar Apr 19 '13 19:04 jdcauley

Oh I had this issue on all of my Multisite installs, I solved it this way:

goto settings for each sister site and change:

Upload path: assets Upload Url Path: /assets

notice the difference assets and /assets

hixen avatar Apr 26 '13 21:04 hixen

I had the same problem. Using /assets for multisite didn't work either. I ended up with that bit of code:

if (!is_multisite()) { update_option('upload_path', 'assets'); } else { update_option('upload_path', ''); }

Fouppy avatar May 02 '13 09:05 Fouppy

@Fouppy can you pls submit a pull req with that change to activation.php?

retlehs avatar May 03 '13 22:05 retlehs

Done. Hope I did the right things, I'm kinda new to Git/GitHub.

Fouppy avatar May 04 '13 17:05 Fouppy

thx @Fouppy - perfect. closed by fba4b0cc5b041bcb7399c6f5b19c25712850da88

retlehs avatar May 06 '13 18:05 retlehs