Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Digital download link expired or 404: how to find and fix it

DLV-176High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

After a customer buys an ebook, course, template or software file, your store emails a link to the file, or shows it on the thank-you page. This issue is when that link returns a 404 (page not found), an access denied message or an expired link notice.

Common causes: the file was renamed, moved or deleted; the link has a time limit or a download limit that is too strict; the store moved to a new domain or switched to HTTPS and old links broke; a security plugin or CDN rule blocks the protected folder; or an email tool rewrote the link.

Why it costs you leads or sales

The customer has already paid, so this is the worst moment to fail. They cannot use what they bought. They email support, ask for a refund, open a payment dispute or leave a bad review. Many will not write to you at all.

Where the purchase breaks
  1. Product pageCustomer adds the product
  2. Checkout and paymentPayment succeeds
  3. Delivery emailLink in email returns 404 or expired
  4. File downloadCustomer cannot get the file
  5. Repeat purchaseRefund or chargeback instead

The payment works, but the customer never receives the file.

Support tickets after a broken download linkExample numbers
Support tickets after a broken download link (example)Links working: 3 tickets; Links broken for 3 days: 28 tickets01121328Links workingLinks broken for 3 da…tickets

Example: tickets per week for a shop with 100 digital orders a week, before and after a link problem. Your numbers will differ.

How to check if your site has it

Quick checks
  • Buy your own product with a coupon or test mode and use a real inbox you can read.
  • Click the download link in the email, not the one on the thank-you page.
  • Click it again from a different browser and from your phone.
  • Wait past your expiry time and click it again to see what the customer sees.
  • Download it more times than your download limit allows, to see the message.
  • Open the file URL directly. A 404 means the file or path is gone.
  • Look at recent support messages for words like 'expired', 'invalid link' or 'not found'.

How to fix it

General fix order
  1. Find the exact error

    Open the link and note whether it is 404, 403, or an expiry message. Each points to a different cause.

  2. Confirm the file still exists

    Check the product's file in your store or hosting. If it was renamed or deleted, upload it again and re-attach it to the product.

  3. Relax expiry and download limits

    Set a longer expiry (for example 30 days or never) and a download limit that allows retries on a new device.

  4. Check blocking rules

    Security plugins, firewall rules, hotlink protection and CDN rules can block the protected download folder.

  5. Resend the link to affected customers

    Use your store's resend option for orders placed since the problem began.

Fix by platform
  1. WooCommerce: check download settings

    Go to WooCommerce > Settings > Products > Downloadable products. Check the file download method and the setting that restricts access to logged-in users or requires a login to download.

  2. Edit the product limits

    In the product, under Product data > Downloadable, set Download limit and Download expiry. Leave blank for unlimited.

  3. Fix the file URL

    If the file moved, re-add the file path or upload it again in the product, then save.

  4. Regenerate access for old orders

    Open the order, and in Downloadable product permissions, grant access again or edit the expiry date. Then use Order actions > Resend order details to customer.

  5. Easy Digital Downloads

    Go to Downloads > Settings > Misc > File Downloads. Raise Download Link Expiration and Download Limit. Resend the purchase receipt from Downloads > Payment History.

WooCommerce: extend download expiry for every product (example snippet)php
add_filter( 'woocommerce_downloadable_file_permission_data', function( $data ) {
    // Remove expiry and download limit for new orders.
    $data['access_expires']      = null;
    $data['downloads_remaining'] = '';
    return $data;
} );

How to confirm it's fixed

Confirm with a fresh order
  1. Place a new test order

    Use test mode or a 100% coupon, with an inbox you control.

  2. Click the email link

    The file should download or open without login errors.

  3. Test an older order

    Open a link from an order placed before the fix, or resend it, and confirm it works.

  4. Check the file

    Open the downloaded file to be sure it is the right one and is not empty.

Download delivery before and after

Before

  • Email link returns 404
  • Link expires in 24 hours
  • Limit of 1 download
  • Customer must email support

After

  • Email link downloads the file
  • Link valid for 30 days or more
  • Limit allows several downloads
  • Customer can request a fresh link

How to prevent it happening again

Prevention habits
  • Do not rename, move or delete product files without updating the product.
  • Retest delivery after changing domain, hosting, CDN, security plugin or email provider.
  • Retest after updating the store plugin or theme.
  • Use sensible expiry and download limits.
  • Add a self-service page to request a new link.
  • Keep a copy of every product file in a backup folder.
  • Schedule a regular test purchase that follows the email link.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. Its journey includes an email_link step: after a test order or lead, it checks the email that arrives and follows the link in it, so a link that returns an error can be caught. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

Cover the rest by hand
  • Once a month, buy your top products in test mode and open the file.
  • After any product file change, download it once yourself.
  • Check that the downloaded file is the correct and current version.
  • Test an old order to check expiry and download limits.
  • Read support messages for 'link expired' complaints.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why is my digital download link not working after purchase?

The most common causes are a file that was moved or deleted, a link that expired, a download limit that was reached, or a security rule blocking the protected folder. Open the link and note whether it shows 404, 403 or an expiry message, then check the matching setting in your store.

Why does my download link say expired?

Your store sets a time limit on links, and the customer clicked after it passed. Increase the expiry in your product or store settings, or leave it blank for no expiry, and resend the link to the customer.

How do I resend a download link to a customer?

Open the order in your store admin and use the resend option. In WooCommerce this is Order actions > Resend order details to customer. In Easy Digital Downloads, resend the receipt from Payment History.

Why do I get a 404 on a digital product download?

A 404 usually means the file is no longer at the path the link points to. It may have been renamed, deleted, or lost during a migration or domain change. Re-upload the file, re-attach it to the product and test again.

How many times should a customer be able to download a file?

There is no fixed rule, but allow several downloads so customers can retry on a new device or after a failed download. Many stores allow three to five, or unlimited, with an expiry of at least a few weeks.

Can I test digital download delivery without paying?

Yes. Use your store's test mode, a payment gateway sandbox or a 100% discount coupon, and use an inbox you can read. Then click the link in the real email.

Can FunnelGuard detect a broken download link?

Partly. Its email_link step follows the link in the email a test order sends and can catch an error. It does not check the downloaded file contents or expiry and limit behaviour, so test those by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: email_link step.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.