• Resolved thestationeryceo

    (@thestationeryceo)


    I’m started adding a new digital product under the products section. It’s a downloadable products so I would need to upload files. But when I do this, the File URL has an astrix which pertains to an error message “*?The indicated downloads have been disabled (invalid location or filetype—learn more).”

    It’s definitely not a file type issue as I tried all kinds of files (zip, png, jpeg etc). It seems that the approved download directory isn’t registering. I’ve ensured the correct one is disabled and it’s still not working. I’ve also tried, disabling then re-enabling again, deleting and re-adding etc. The only solutions seems to be when I click “Stop enforcing rules”.

    My questions is:

    1. Is it really important to have these rules enforced? (I actually still don’t know the whole purpose of ‘Approved Download Directories”)
    2. If so, how do i fix this issue?
    3. If not important, what’s the consequences of keeping the rules NOT enforced?
Viewing 1 replies (of 1 total)
  • hrn1995 (woo-hc)

    (@aguinaldodarla)

    Hi @thestationeryceo

    The Approved Download Directories feature in WooCommerce is designed to ensure that the files you upload for your digital products are stored in a secure location. This prevents unauthorized access to these files, which could otherwise be downloaded without a purchase.

    When you see the error you mentioned, it typically means that the file you’re trying to upload is not in one of the approved directories, or that the file type is not allowed. I understand that you’ve tried multiple file types and ensured that the correct directory is enabled, but the issue persists. This could be due to several reasons, such as incorrect file permissions or server configuration issues. Some server configurations may prevent files from being uploaded to certain directories. You might need to consult with your hosting provider regarding this.

    To answer your question if it’s important to have these rules enforced, yes, it is important to have these rules enforced as they provide an additional layer of security for your digital products. Without them, your files could potentially be accessed and downloaded without authorization.

    If you choose to not enforce these rules, the main consequence would be a potential security risk. Your digital products could be accessed and downloaded without a purchase, leading to a loss of revenue.

      I hope this clarifies your concern.

    Viewing 1 replies (of 1 total)
    • The topic ‘Approved Download Directory Issue’ is closed to new replies.