On this page
What this issue is
A 404 error means the server could not find the page or file at the address you gave. In this case the address sits inside an email you send after someone signs up, such as a guide, checklist, template or ebook.
The email itself arrives fine. The form works. The failure happens at the last step, when the person clicks the button and lands on a "Page not found" screen.
- Landing pageVisitor finds the offer
- Opt-in formSubmitted successfully
- Email arrivesDelivered to the inbox
- Download linkReturns 404
- File receivedNever reached
The email is delivered, but the click leads nowhere.
Why it costs you leads or sales
The subscriber gave you their email in exchange for something. If the promise fails at the first moment of contact, trust drops. Many will not write to you. They will simply leave, and your follow-up emails are less likely to be opened.
Because the problem sits after the form, your form conversion numbers and ad reports still look healthy. Nobody sees it unless they test the email. Every new signup can be affected until someone notices.
Example: of 100 signups, a 404 link means none receive the file, while a working link lets most of them download it.
Common causes
| Cause | What happened | Typical fix |
|---|---|---|
| File moved or deleted | Someone cleaned up the media library or replaced the PDF | Restore the file or update the link |
| Page slug renamed | The thank-you or download page URL changed | Add a 301 redirect from the old URL |
| Typo or wrong domain | Link points to staging, a test site or a mistyped path | Correct the URL in the email |
| Merge tag broken | Email shows a literal placeholder or an empty value | Fix the variable name in the email template |
| Expiring or one-time link | The file host or plugin invalidates the link | Use a permanent URL or lengthen the expiry |
| Migration or redesign | Site moved and paths changed | Redirect old paths to the new ones |
| Tracking wrapper broken | The email tool's click-tracking link can't resolve the target | Fix the destination URL inside the email |
How to check if your site has it
Sign up with a fresh address
Use the live form with an inbox you control. Do not click a preview from inside your email tool only.
Click the link in the received email
Click the actual button or link, not a copy of the URL you remember. Note the final address in the browser bar.
Check the status code
Open the browser developer tools (Network tab) or run the command below. Anything other than 200 after redirects needs a look.
Test on mobile and in different mail apps
Some apps rewrite links or open them in an in-app browser. Confirm the file still loads.
Check the plain-text version
If your email has a text version, its link can differ from the HTML button.
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" "https://example.com/downloads/guide.pdf"How to fix it
First work out which of the causes above applies. Then fix the destination, not just the email, so old emails already sent also work. Where you can, keep the old URL alive with a redirect.
Find the real file URL
Go to Media > Library, open the file and copy its File URL. If it is missing, upload it again.
Add a redirect for the old path
Use a redirect plugin you already trust (or your host's redirect tool) to send the old URL to the new one with a 301.
Update the email
Edit the email in your form or email plugin and paste the working URL.
Check the file in Content > Files
Open Settings > Files (or Content > Files) and copy the current file URL. Re-upload if it is gone.
Redirect renamed pages
Go to Content > Menus > View URL Redirects and add a redirect from the old path to the new one.
Update the email template
Edit the email in your email app or in Settings > Notifications, and paste the corrected link.
Check the asset or page
Open the Assets panel or the Pages panel and confirm the file or page still exists and is published.
Add a 301 redirect
In Project settings > Hosting > 301 redirects, map the old path to the new one, then publish.
Update the email
Paste the live URL into the email in your email tool.
Check the link in the workflow
Open the automation that sends the email and click the link in the email step. Confirm the URL and any custom value used.
Confirm the funnel or media file
Make sure the page or file is published and the path has not changed.
Send a test through the workflow
Run the workflow with a test contact and click the received link.
Check the page or file
In the Media Manager or Pages menu, confirm the file or page exists and is published.
Set up a redirect
In Marketing & SEO > SEO tools > URL Redirect Manager, add the old path and the new target.
Update the automation email
Edit the email in your automation and replace the link.
Check the file or page
Open the page or file storage and make sure the item still exists and is not disabled.
Add a URL mapping
In Settings > Developer Tools > URL Mappings, add the old path with a 301 to the new one.
Update the email campaign or automation
Replace the link and send a test.
Find where the URL is built
Check the email template and the code that builds the link, including any base URL setting that differs between staging and production.
Redirect old paths
Add a permanent redirect in your server or app config, for example with the snippet below.
Redeploy and retest
Send a real test email from production.
location = /downloads/old-guide.pdf {
return 301 /downloads/new-guide.pdf;
}Broken
- Email points to /files/guide-v1.pdf
- File was renamed during a site cleanup
- Subscriber lands on Page not found
Fixed
- Email points to the current permanent URL
- Old path redirects with a 301
- Subscriber gets the file in one click
How to confirm it's fixed
- Submit the live form with a fresh address
- Open the received email and click the link
- Final page returns 200 and the file opens or downloads
- Old link, if any, redirects to the new one
- Link works on mobile and in a private browser window
- Both HTML and plain-text versions point to the right URL
How to prevent it happening again
- Never rename or delete a lead magnet file without checking which emails link to it
- Use one stable, permanent URL per file
- Always add a 301 redirect when a page or file moves
- Re-test the full signup email after site migrations, theme changes and email template edits
- Keep staging links out of live emails
- Run a scheduled test of the whole journey instead of relying on memory
Day 1
Someone tidies the media library and renames the PDF.
Day 1 onward
New signups click the email link and see a 404.
Days later
Ad and form reports look normal, so nobody notices.
When found
Link is corrected and a redirect added.
How FunnelGuard handles this
FunnelGuard detects this issue. A robot visitor runs your real opt-in journey on a schedule, submits a test lead, and follows the link in the email it receives (the email_link step). If that link does not load, the step fails.
A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty. The alert includes a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent, so you can filter it out of reports.
Questions people ask
Why does the download link in my lead magnet email show a 404?
The URL in the email points to a file or page that no longer exists at that address. Common reasons are a renamed or deleted file, a changed page slug, a site migration, or a link that still points to a staging site. Click the link from a real test email to see the exact URL that fails.
How do I fix a broken download link in an email I already sent?
You cannot edit a sent email, so fix the destination instead. Restore the file at the old URL or add a 301 redirect from the old URL to the new one. Then all earlier emails start working without resending.
How can I test my lead magnet email automatically?
Sign up with a test address, open the email and click the link, then confirm the page returns 200 and the file loads. Doing this by hand works but is easy to forget. A synthetic monitoring tool like FunnelGuard can repeat this on a schedule and alert you when the link fails.
Should I use a 301 or 302 redirect for a moved download?
Use a 301 when the move is permanent, which is the usual case for renamed files or pages. A 302 signals a temporary move. For email links that must keep working, a 301 is the safer choice.
Why does the link work for me but not for subscribers?
You may be logged in, have the file cached, or be clicking a preview in your email tool rather than the delivered email. Test in a private window with a fresh signup. Also check for links that expire or are tied to a session.
Can an email click-tracking link cause a 404?
Yes. Many email tools wrap links in their own tracking URL. If the destination inside it is wrong, or the tracking domain is misconfigured, the click ends in an error. Check both the final destination and the tracked link in a real received email.
Does FunnelGuard detect a 404 download link?
Yes. FunnelGuard follows the link in the email it receives after a test signup, using its email_link check. If the link fails, it re-checks from a second region and then sends one alert with a screenshot and a likely cause.
Related issues
- DLV-184Lead magnet email never arrivesFix guide
- DLV-186Download file is the wrong or outdated versionFix guide
- DLV-187Download link points to a private Google Drive fileFix guide
- DLV-189Confirm link in double opt-in brokenFix guide
- DLV-195Welcome email after signup missingFix guide
- DLV-193Password reset link broken or leads to an errorFix guide