multisite htaccess files videos iphone / iOS
-
wp in multi-site mode with buddypress, rtmedia for uploading media – and their ffmpeg converter to convert videos to mp4
the videos play fine with most desktop windows computers and with most browsers on most android devices. Problem is iOS devices fail.
think we found the problem is related to the htaccess for wp multi site, that I think was originally created in 2009 – so may be out of date (and maybe wp-config is) – anyhow…
able to get direct video to play on mobile when you disable the following lines in your .htaccess file:
#uploaded files RewriteRule ^(.*/)?files/$ index.php [L] RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
rtmedia puts user uploaded files in a setup like: to referenced mp4 video:
https:// ourdomain name.com/files/rtMedia/groups/20820/2017/01/received_193386011128359.mp4If anyone can tell me how I could change the htaccess to keep the multisite working fine (user sites aka blogs in subdomain setup (not sub folder) – would be greatly appreciated.
Steve
PS – I tried to post about this a few minutes ago, and it just disappeared – so if this ends up being a double post – big time apologies – I followed the welcome message before and put a link to the site and added the ns fw tag in both places the codex says to – but it just poof – gone – nothing telling me the post was accepted.. or rejected or anything – so I’m rewriting it – without the link and ns fw tag that the codex / welcome message asked for.
- The topic ‘multisite htaccess files videos iphone / iOS’ is closed to new replies.