Hi, Folks will show you guys how to make your users download any file on your WordPress Site, without using any plugin.
In other to achieve this we will use htaccess
Log in to your Cpanel, Navigate to File Manager
Go to Public_html
At the right top of the menu, click on settings and thick show hidden files.
#my force download,mp3 and mp4 AddType application/octet-stream .mp3 AddType application/octet-stream .mp4 ForceType applicaton/octet-stream Header set Content-Disposition attachment ForceType applicaton/octet-stream Header set Content-Disposition attachment #end of force dow
Locate a file named .htacces and use edit to add this code
This setup is only for mp3 and mp4, you can extend it by adding file extensions like .pdf, etc.
If the above step didn't work please download the zip file below that is a final bus stop to your problem inside it.
Enjoy and share