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!
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!
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!
Hi LovingBro,
thank you very much for your friendly suggestions! And for the link too: I will read carefully 🙂
Take care, ciao
Luisa
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!