NEWS | INFORMATION | HOT POSTS | TECH |


  CLICK HERE TO PROMOTE YOUR SONG


Burna Boy
Davido
Wizkid
Naira Marley
Olamide
Tiwa Savage
Rema
Teni
Kizz Daniel
Zlatan
Tekno
Phyno
Yemi Alade

« | »

How to Force Download Media Files on WordPress Site

Posted by on June 22, 2020 0


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


ForceType application/octet-stream
Header set Content-Disposition attachment

ForceType application/octet-stream
Header set Content-Disposition attachment.

Save it and it should be working fine.

If you face any error on this, feel free to drop comment and we are always here to provide help.

The post How to Force Download Media Files on WordPress Site appeared first on LagosMp3.com.ng.





« | »

Looking for something? Search below