• Resolved devaraj227

    (@devaraj227)


    I have a page of free audio downloads on my WP site that has worked fine previously. Now it no longer allows downloads when accessed with Chrome. The page asks for download location but then says “Failed – Forbidden.”

    I’ve been checking through the troubleshooting pages here and can confirm that…

    * it’s a https page
    * the files to be downloaded aren’t in wp-content but when I put them there it makes no difference
    * downloads work fine in Firefox

    Anyone have a fix?

    • This topic was modified 2 years, 2 months ago by devaraj227.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can’t reproduce the problem on my end – in any browser. With me, the mp3 files are not offered for download but played directly, because that is apparently so provided in my browser settings for mp3 files.

    If you want to force a download, you would have to add the download attribute to each link. See: https://stackoverflow.com/questions/2793751/how-can-i-create-download-link-in-html

    Thread Starter devaraj227

    (@devaraj227)

    @threadi Thank you for doing that, much appreciated. I guess I could try the force download thing but I don’t really need that. Chrome offers me to download the file but then it fails. See attached screen recording…

    https://devaraj.org.uk/downloads/chrome_download_issue.mp4

    • This reply was modified 2 years, 2 months ago by devaraj227.
    Thread Starter devaraj227

    (@devaraj227)

    Just to close this one off, as someone found a solution, and it might be useful to record that in case someone else needs it…

    “`I have checked the issue and found that the issue is with your .htaccess file. I have now disabled the following rule from the .htaccess file and now the mp3 can be downloaded from the download button (Can see from the chrome browser)
    #RewriteRule \.(jpg|jpeg|png|gif|avi|flv|wmv|mp4|mov|mp3)$ – [NC,F,L]`”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Chrome won’t download from my WP site page’ is closed to new replies.