• Resolved acrogame

    (@acrogame)


    I have a problem with Woocommerce
    I transferred all my stock images on my encrypted proton cloud with my new download directory approved by Woocommerce in the settings (privately I have a print screen for you) anyway let say here something like https://protondrive/
    Then I edited all my urls of the products to download (privately I have another sample print screen for you) let say https://protondrive/1FZ4BB1NJC#hoHzjJ8eb
    When I tested the sale with this sample, for the customer appears a masked link as usual, but the final download link was only 1FZ4BB1NJC#hoHzjJ8eb absolutely useless (!!!) instead of the obvious
    https://protondrive/1FZ4BB1NJC#hoHzjJ8eb

    It looks like an absolutely trivial issue but how could it be solved???

    Best
    LF

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @acrogame,

    I understand that you moved your downloadable product files to Proton Drive and updated your product URLs in WooCommerce, but the resulting customer download links are being truncated, leaving only the file ID instead of the full Proton Drive link. This happens because WooCommerce’s download protection system rewrites URLs for security and does not support external encrypted file hosts like Proton Drive as direct download sources.

    To fix this, you can disable the “force downloads” method and switch your file download method to “Redirect only (insecure)” by going to WooCommerce → Settings → Products → Downloadable Products. This will allow the full Proton Drive link to pass through directly to your customers. However, note that this means WooCommerce will not mask or protect the download link.

    You can learn more about the file download methods and how they work here: https://woocommerce.com/document/digital-downloadable-product-handling/

    Once you update the setting, test the product again to confirm the full link is being served correctly. Let’s see how it goes!

    Thread Starter acrogame

    (@acrogame)

    Thank you very much for the clarification! I think the problem is solved.
    Only another request please: what can I do in the case some download products are on external source like encrypted cloud and others are on an internal folder. Can I choose to mask the last ones someway?

    Thanks in advance!

    Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @acrogame,

    I’m glad to hear that my earlier reply helped resolve the issue with your download links. It’s great that things are working smoothly now.

    That’s a great question about using both external encrypted storage like Proton Drive and internal folders for your downloadable products while keeping internal files masked for customers. Currently, WooCommerce applies the download method globally, meaning you can’t selectively mask some files and not others within the same store.

    If you want your Proton Drive files to work properly, you’ll need to keep the download method set to Redirect only (insecure) under WooCommerce → Settings → Products → Downloadable Products. However, for your internal files, you can still protect them by storing them in a non-public folder and using a download manager or a redirect plugin to mask the URLs manually.

    You can learn more about how WooCommerce handles file downloads here: https://woocommerce.com/document/digital-downloadable-product-handling/

    Let’s see how it goes once you try that setup!

    Thread Starter acrogame

    (@acrogame)

    Hi LovingBro,

    thank you very much for your friendly suggestions! And for the link too: I will read carefully 🙂
    Take care, ciao
    Luisa

    Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @acrogame,

    I’m glad that I was able to help you get your download links working as expected and that my earlier suggestions made things clearer for you. It’s always rewarding to know the information shared was helpful.

    If you have a moment, I’d truly appreciate it if you could share your experience by leaving a review for WooCommerce here: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

    Your feedback means a lot and helps us continue improving WooCommerce for everyone.

    Take care and happy selling!

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

The topic ‘download product issue’ is closed to new replies.