Multisite Network and Byte Range support for iTunes
-
Hi
This seems to come up a fair bit but never really answered in a way that resolves things sensibly long term.
We can use byte range header requests to serve files using apache 2.4 and WordPress but we need to use the real URL as it is Apache that provides byte-range support.
When the requests and rewrites are handled via PHP and WordPress the option to serve byte ranges is lost. What we need is to be able to allow the podcast to send the URL for the mp3 file as the real URL so that Apache can serve it up nicely for iTunes with byte range support intact.
For multisite the usual underlying structure will be (not real URLs!) eg:
[audio src="http://Website.our.domain/wp-content/uploads/sites/12/2016/06/Episode1.mp3" /]
However when I place this as the reference for the MP3 in the podcast it seems to still embed the file location as:
[audio src="http://Website.our.domain/podcast-download/100/episode1.mp3" /]
this then fails byte range requests.
This is using current new install of multisite network WP and has no caching, no additional plugins on the network and none active on the site bar the SSP ones.
Is there anything we can do without hacking core php files and trying to be creative with lots of .htaccess hack rewrites? or can we use .htaccess rewrites to do the work for the plugin itself?
Without a tidy solution it seems really to make it non-multisite compatible plugin, which would be a real shame.
Has anyone got this working on multisite with subdomain sites?
Thanks
D
The topic ‘Multisite Network and Byte Range support for iTunes’ is closed to new replies.