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.
- Product pageCustomer adds the product
- Checkout and paymentPayment succeeds
- Delivery emailLink in email returns 404 or expired
- File downloadCustomer cannot get the file
- Repeat purchaseRefund or chargeback instead
The payment works, but the customer never receives the file.
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
- 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
Find the exact error
Open the link and note whether it is 404, 403, or an expiry message. Each points to a different cause.
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.
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.
Check blocking rules
Security plugins, firewall rules, hotlink protection and CDN rules can block the protected download folder.
Resend the link to affected customers
Use your store's resend option for orders placed since the problem began.
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.
Edit the product limits
In the product, under Product data > Downloadable, set Download limit and Download expiry. Leave blank for unlimited.
Fix the file URL
If the file moved, re-add the file path or upload it again in the product, then save.
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.
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.
Check your digital delivery app
Shopify does not deliver files by itself. Open the app you use (for example Shopify's Digital Downloads app or a third-party one) and check each product has a file attached.
Adjust limits in the app
Set download limit and link expiry in the app settings. Settings names vary by app.
Resend
Use the app's resend option for affected orders, or send a new link from the order page.
Check the notification template
In Settings > Notifications, make sure the order confirmation template still includes the app's download link and was not edited.
Not the usual cause
Tag Manager does not deliver files. Only check it if a tag or script rewrites links on the thank-you page, then disable it and retest.
Check the delivery tool
Webflow Ecommerce can deliver digital files for products set as digital. Open the product, confirm the file is uploaded, and use the Orders area to resend the email.
Check the email
In Ecommerce > Settings > Emails, confirm the customer order email is enabled and the sender works.
Check the product delivery
If the link is in a workflow email or a membership product, open the workflow and confirm the link points to the current file or course URL.
Test the workflow
Run the workflow with a test contact and click the link in the email you receive.
Check the digital product file
In the dashboard, open Store Products, select the product and confirm the file is still uploaded.
Resend the link
Open the order and use the option to resend the download link to the customer.
Check the product file
Open the digital product in Commerce > Inventory and confirm the file is attached.
Resend
Open the order in Commerce > Orders and resend the download email. Note that Squarespace download links expire after a set period, so resend if a customer comes back late.
Check how links are signed
If you generate signed or tokenised URLs, check the secret key has not changed and the expiry is long enough for slow buyers.
Return a clear message
For expired links, show a page that lets the customer request a fresh link by entering their order email, instead of a bare 404.
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
Place a new test order
Use test mode or a 100% coupon, with an inbox you control.
Click the email link
The file should download or open without login errors.
Test an older order
Open a link from an order placed before the fix, or resend it, and confirm it works.
Check the file
Open the downloaded file to be sure it is the right one and is not empty.
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
- 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.
- 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.
Related issues
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-164Order stuck in pending paymentFix guide
- DLV-169Shipping confirmation email not sentFix guide
- DLV-175Subscription created but customer has no access (membership not granted)Fix guide
- DLV-179Admin new-order email not sent to the store ownerFix guide
- DLV-168Invoice PDF not attached or wrong VAT detailsFix guide