SHARE

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

[php]

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

[/php]

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.

Leave a Reply