• Resolved jrvcosta

    (@jrvcosta)


    Hi there!

    I’m receiving this message when I click on download links on my website (and they were working before):
    An error occurred while trying to download the file. Please try again.

    The strange thing is that when I click on that message or the link again, the download happens normally.

    My WordPress Address and Site Address URLs are de same (and both https).

    What could be causing this strange behavior?

    Thanks in advance!
    Jose.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Teo Alex

    (@altesin)

    Hello @jrvcosta,

    I’ve been able to replicate the issue on your website, but not on our testing environments.

    It appears that the server is redirecting requests from https://website.com to https://www.website.com, which prevents the download from starting properly. Do you have any plugin or rule in your .htaccess (or server configuration) that forces this redirect?

    Could you also please confirm whether the WordPress Address (URL) and Site Address (URL) are set to the same value in Settings → General?

    As a quick test, adding www to the download link resolves the issue, which further suggests that the redirect is the root cause.

    Thread Starter jrvcosta

    (@jrvcosta)

    Hi Alex.

    Thank you for the quick response!
    Yes, the WordPress Address and Site Address are set to the same value.

    But I found a plugin that was forcing the redirection you mentioned in the .htaccess
    Since it wasn’t very important, I uninstalled it and everything is back to normal now.
    Thanks for the tip! I hadn’t thought of that.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.