Trouble with Direct Mp3 (files) downloading
-
Hello,
I am sorry for taking your time, not very familiar with the wordpress support forms, hopefully it is the right place to post this.
My current theme just started to have trouble allowing users to download mp3 files directly (one click “download” button).
I checked it on another theme it works fine, files are downloaded it directly.
The current theme can still download files from other platforms like Dropbox (direct link), but will not do it from the actual host server, or from Media library wordpress.
Tried creating direct download php file, it works however can not integrate the code into the audio player’s download option. it will have script lines visible on the player and not function properly.
.htaccess didn’t had any luck
<FilesMatch “\.(?i:mp3)$”>
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>ones clicked on the link it will direct to a blank page with the actual files URL in a loading manner, if click at the url and press “enter” like a refresh the mp3 will still download.
Also tried to un-install all the plugins and reset the Parmalinking to post from custom.
Confirmed the actual .htaccess and it has not been edited, looks the same.
Is there anything else I can try to get my mp3 files downloading back on track.
- The topic ‘Trouble with Direct Mp3 (files) downloading’ is closed to new replies.