
How to force download media files on a wordpress Blog
Hello guys, For those of you that want to add the features of auto downloading to your wordpress website, for your users to be able to download any media files. Login to your cPanel Click on file manager open puublic_html folder make sure, your hidden files is visible Then, add the below code to your .htaccess file <FilesMatch ".(mov|mp3|jpg|pdf|mp4)$">ForceType application/octet-streamHeader set Content-Disposition attachment</FilesMatch> ForceType application/octet-streamHeader set Content-Disposition attachment Save it... Read more