Multisite and Media Library broke documents uri/url
-
First than all, yes, I have readed a lot about the theme, so i can firmely set that the new media library code broke uri/url on multisite configuration.
I have a 3.5.1 subdirs Multisite, upgraded from 3.0 periodicaly, so the multisite databases has been upgraded since then. I use the default .htaccess and the wp-config taked from older versions, but the recent upgraded to 3.5.1 broke the images/documents links of all my media library subsites, and administration icons using ozh-admin-manager. The main site uses icons, images and docs fine.
Differences:
Main site uses url like this: https://site/wp-content/uploads/docs
Subsite uses url like: https://site/subsite/files/docs
the real address are: https://site/wp-content/blogs.dir/id/files
I linked wp-content/blogs.dir with wp-content/uploads/sites, does’t work.
And at last I found somthing that make me think on code broking the process that transforms urls…
Inside .htaccess I added this line to the begin of rewrites rules
RewriteRule ^([_0-9a-zA-Z-]+/)?subsite/files/(.+) wp-content/blogs.dir/id/files/$2 [L]
And all works just for this subsite … so I need to add a rule to every subsite to make all subsites work … practical but not well manage.
Can please recheck why this rule works and all the rest that should do the same don’t?
Thanxs.
- The topic ‘Multisite and Media Library broke documents uri/url’ is closed to new replies.