Public Ticket #3398208

File URLs in products

Closed
Comments
38 Tickets 14
Ryan Dwyer started the conversation 3 years ago on June 22, 2023 at 9:26am

I tested Dropbox links for file urls but it didn't seem to work. Are external links disabled as download sources? Is there a way to enable it, if not?


2,762
KingsPlugins replied 3 years ago on June 22, 2023 at 12:18pm

Hi Ryan,

Is the Dropbox link a direct download link, or more of a page? I mean, when you go to the link does a download immediately start, or do you have to click on an extra download button first? By default this feature works only if that's a direct link.

Check out this discussion: https://wordpress.org/support/topic/downloadable-product-w-link-to-external-url-thats-not-a-file/

They are saying you can:

Go to WP Admin » WooCommerce » Settings » Products » Downloadable products, and change the File download method to Redirect only (insecure).

It would allow any link and the customer would just be redirected to that link.


Kind regards,

Stefan

1
2,762
KingsPlugins replied 3 years ago on June 22, 2023 at 12:54pm

I tested on my local site, it seems only the last option (redirect only) will redirect to an external link. I think it's fine choosing that as well, 

The documentation of that option says:

When users download a file, their link redirects to the file. Using this method means your files will be unprotected and whoever has the upload link will be able to access the file, even when they are not logged in.


So it's insecure in the sense that someone could share the dropbox link.


1

Sign In