• Resolved epicburrito

    (@epicburrito)


    I need to use an external storage for my digitial downloads because my host has difficulties with large files. MediaFire should work for me. However, when I use the MediaFire link, Woocommerce downloads the MediaFire page for the file and not the actual file. When I put the link in my browser, it downloads the file. How do I get WooCommerce to download the file instead of the page? (Due to the content, I can’t use AWS, Google drive, OneDrive or other mainstream clouds.)

    Question 2: ideally, I’d like to use my local server for small files and MediaFire for large files. What settings do I use in WooCommerce? It appears that the “Allow using redirect mode (insecure) as a last resort” doesn’t work on my site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Roxy

    (@roxannestoltz)

    Hi @epicburrito ,

    Thanks for reaching out!

    Answer to question 1:

    You need to modify the MediaFire link to the direct download link. You can obtain the direct download link by right-clicking the download button on the MediaFire page and selecting “Copy link address” or “Copy link location.”

    Once you have the direct download link, you can try use that instead of the original MediaFire link in WooCommerce and see if this makes any difference.

    If the issue persists with the MediaFire download links, please can you share a copy of your sites System Status report, so that we can have a better understanding of your sites current environment.

    You can find via WooCommerce → Status. Select Get system report and then Copy for support.

    Additionally, please can you share a screenshot of your Downloadable Products settings.

    Snipboard.io can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.

    Answer to question 2:

    To use your local server for small files and MediaFire for large files, custom code or a plugin would be required, as this is not a built-in feature of WooCommerce core.

    You can have a look at the www.remarpro.com plugin repository here, and see if there is anything that works for you.

    Cheers!

    Thread Starter epicburrito

    (@epicburrito)

    I changed the MediaFire link to a direct download and that didn’t change anything. In A WooCommerce order, it still downloaded the MediaFile page.

    https://snipboard.io/mDFb1r.jpg

    WordPress Environment
    
    WordPress address (URL): https://sexpainandpower.com
    Site address (URL): https://sexpainandpower.com
    WC Version: 7.3.0
    REST API Version: ?</img> 7.3.0
    WC Blocks Version: ?</img> 9.1.5
    Action Scheduler Version: ?</img> 3.4.0
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: ?</img>
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.0.27
    PHP Post Max Size: 1 GB
    PHP Time Limit: 600
    PHP Max Input Vars: 4000
    cURL Version: 7.87.0
    OpenSSL/1.1.1s
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.3.0
    WC Database Prefix: dom_
    Total Database Size: 66.06MB
    Database Data Size: 56.76MB
    Database Index Size: 9.30MB
    dom_woocommerce_sessions: Data: 0.18MB + Index: 0.01MB + Engine MyISAM
    dom_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_downloadable_product_permissions: Data: 0.13MB + Index: 0.14MB + Engine MyISAM
    dom_woocommerce_order_items: Data: 0.07MB + Index: 0.04MB + Engine MyISAM
    dom_woocommerce_order_itemmeta: Data: 0.47MB + Index: 0.34MB + Engine MyISAM
    dom_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_actionscheduler_actions: Data: 3.38MB + Index: 0.81MB + Engine MyISAM
    dom_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dom_actionscheduler_logs: Data: 1.52MB + Index: 1.10MB + Engine MyISAM
    dom_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_b2s_network_insights: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_b2s_posts: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    dom_b2s_posts_drafts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_b2s_posts_favorites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_b2s_posts_insights: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dom_b2s_posts_network_details: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_b2s_posts_sched_details: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_b2s_user: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dom_b2s_user_contact: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_b2s_user_network_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_bv_activities_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_bv_fw_requests: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    dom_bv_ip_store: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
    dom_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_cartflows_ca_cart_abandonment: Data: 0.22MB + Index: 0.02MB + Engine MyISAM
    dom_cartflows_ca_email_history: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    dom_cartflows_ca_email_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_commentmeta: Data: 0.06MB + Index: 0.02MB + Engine MyISAM
    dom_comments: Data: 0.38MB + Index: 0.15MB + Engine MyISAM
    dom_cpappbk_AuthNetSIM: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_cpappbk_deposits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_cpappbk_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_cpappbk_googlecalapi: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_cpappbk_googlecalapi_ev: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    dom_cpappbk_messages: Data: 0.19MB + Index: 0.01MB + Engine MyISAM
    dom_ig_actions: Data: 0.47MB + Index: 1.23MB + Engine MyISAM
    dom_ig_blocked_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_campaigns: Data: 0.14MB + Index: 0.00MB + Engine MyISAM
    dom_ig_contactmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_contacts: Data: 0.07MB + Index: 0.04MB + Engine MyISAM
    dom_ig_contacts_ips: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_contact_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_ig_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_lists_contacts: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    dom_ig_mailing_queue: Data: 0.12MB + Index: 0.00MB + Engine MyISAM
    dom_ig_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_sending_queue: Data: 0.99MB + Index: 0.08MB + Engine MyISAM
    dom_ig_temp_import: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_ig_unsubscribe_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_ig_wc_cart: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    dom_ig_wc_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dom_ig_workflows: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_ig_workflows_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_nxs_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_nxs_query: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_options: Data: 6.07MB + Index: 0.19MB + Engine MyISAM
    dom_postmeta: Data: 12.05MB + Index: 1.82MB + Engine MyISAM
    dom_posts: Data: 6.95MB + Index: 0.44MB + Engine MyISAM
    dom_redirection_404: Data: 1.02MB + Index: 0.05MB + Engine InnoDB
    dom_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dom_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    dom_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dom_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    dom_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    dom_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    dom_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    dom_usermeta: Data: 0.32MB + Index: 0.14MB + Engine MyISAM
    dom_users: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    dom_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    dom_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wc_bookings_availability: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    dom_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dom_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dom_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wc_customer_lookup: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    dom_wc_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_wc_download_log: Data: 0.07MB + Index: 0.07MB + Engine MyISAM
    dom_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wc_order_product_lookup: Data: 0.11MB + Index: 0.10MB + Engine MyISAM
    dom_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine MyISAM
    dom_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dom_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dom_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfConfig: Data: 3.40MB + Index: 0.01MB + Engine MyISAM
    dom_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfFileMods: Data: 6.38MB + Index: 0.76MB + Engine MyISAM
    dom_wfHits: Data: 1.14MB + Index: 0.05MB + Engine MyISAM
    dom_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfIssues: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    dom_wfKnownFileList: Data: 4.64MB + Index: 0.23MB + Engine MyISAM
    dom_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfLogins: Data: 0.29MB + Index: 0.07MB + Engine MyISAM
    dom_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dom_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dom_wfNotifications: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    dom_wfPendingIssues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    dom_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wfStatus: Data: 0.21MB + Index: 0.08MB + Engine MyISAM
    dom_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dom_wpml_mails: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    dom_yoast_indexable: Data: 0.58MB + Index: 0.19MB + Engine MyISAM
    dom_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.06MB + Engine MyISAM
    dom_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dom_yoast_primary_term: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    dom_yoast_seo_links: Data: 0.18MB + Index: 0.05MB + Engine MyISAM
    dom_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_rua_blog_subscriber: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    accordion_tp: 1
    attachment: 522
    bookable_resource: 1
    custom_css: 2
    divi_cf_db: 1340
    es_template: 7
    et_body_layout: 1
    et_footer_layout: 1
    et_pb_layout: 8
    et_template: 4
    et_theme_builder: 1
    event: 644
    foogallery: 1
    nav_menu_item: 13
    oembed_cache: 12
    page: 34
    post: 138
    product: 70
    project: 1
    revision: 1254
    shop_coupon: 1
    shop_order: 888
    shop_order_refund: 6
    termpopup: 1
    wc_booking: 66
    wp_global_styles: 1
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (19)
    
    CAPTCHA 4WP: by WP White Security – 7.1.1
    Age Gate: by Phil Baker – 3.1.2
    Akismet Anti-Spam: by Automattic – 5.0.2
    Blog2Social: Social Media Auto Post & Scheduler: by Blog2Social
    Adenion – 6.9.14
    
    Icegram Express - Email Subscribers, Newsletters and Marketing Automation Plugin: by Icegram – 5.5.8
    Jetpack: by Automattic – 11.7.1
    Redirection: by John Godley – 5.3.6
    Divi Contact Form DB: by Web-Ace Tech Services – 1.9.1
    Social Media and Share Icons (Ultimate Social Media): by UltimatelySocial – 2.8.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.24
    
    W3 Total Cache: by BoldGrid – 2.2.11
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.21
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.19
    WP Menu Cart: by WP Overnight – 2.13.0
    WooCommerce: by Automattic – 7.3.0
    Wordfence Security: by Wordfence – 7.8.2
    Yoast SEO: by Team Yoast – 19.14
    WP NMI Gateway PCI for WooCommerce: by Pledged Plugins – 1.1.1
    Smush: by WPMU DEV – 3.12.4
    
    Inactive Plugins (5)
    
    Child Theme Configurator: by Lilaea Media – 2.6.0
    Duplicate Page: by mndpsingh287 – 4.5
    WooCommerce Bookings: by WooCommerce – 1.15.48 (update to version 1.15.74 is available)
    WooCommerce Deposits: by WooCommerce – 1.5.7 (update to version 2.1.2 is available)
    WP Mail Logging: by SendLayer – 1.10.5
    
    Dropin Plugins (2)
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: object-cache.php
    
    Settings
    
    API Enabled: ?</img>
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: booking (booking)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ?</img>
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #44 - /shop/
    Cart: #2712 - /cart/
    Checkout: #2713 - /checkout/
    My account: #2714 - /my-account/
    Terms and conditions: #6077 - /terms-of-use/
    
    Theme
    
    Name: Divi Child
    Version: 3.19.15.1556540449
    Author URL: https://www.elegantthemes.com
    Child Theme: ?</img>
    Parent Theme Name: Divi
    Parent Theme Version: 4.19.4
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?</img>
    
    Templates
    
    Overrides: –
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ?</img> Next scheduled: 2023-02-02 02:03:13 -08:00
    Options: ?</img>
    Notes: 18
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 6,212
    Oldest: 2023-01-01 15:35:10 -0800
    Newest: 2023-02-01 15:27:26 -0800
    
    Pending: 5
    Oldest: 2023-02-01 15:30:34 -0800
    Newest: 2023-02-14 17:04:31 -0800
    
    Status report information
    
    Generated at: 2023-02-01 15:28:53 -08:00
    `
    Roxy

    (@roxannestoltz)

    Hi @epicburrito ,

    Thanks for providing an update!

    As per your screenshot, I am able to see that “Force” downloads is being set.

    Force Downloads?require PHP functionality, so for it work the?allow_url_fopen?function in PHP must be set to?On.

    You can read more about how to check the status of?allow_url_fopen?on your site here.

    Also, it is important to note that links from some cloud storage providers only work when?File download method?is set to?Redirect only (insecure), which you can read more about here. The?Setup and Configuration?section in our support documentation explains the difference between the methods.

    If you are still experiencing issue, you can try performing a full conflict test by deactivating all plugins except WooCommerce, switching your theme to?Storefront, and then going to shop page, adding the downloadable product to cart and place a testing order to make sure it works as expected.

    Also, as an alternative you can try using a download manager to help you with this.

    Cheers!

    Roxy

    (@roxannestoltz)

    Hi @epicburrito ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using media fire for downloads’ is closed to new replies.