On this page
What this issue is
A confirmation email (also called an autoresponder) is the message sent automatically after someone submits a form, books a call or buys. It usually contains links: a download, a booking page, an order status page, your website, a help centre. This issue means at least one of those links opens a 404 Not Found page instead of the intended content.
Why it costs you leads or sales
The confirmation email is read by people who have just shown interest, so attention is at its highest. A dead link at that moment looks careless. The lead cannot reach the guide, the booking page or the order details, and some will not try again. You also get extra support emails asking where the file is.
- Form submittedLead sends their details
- Confirmation email arrivesDelivered to the inbox
- Lead clicks the linkOpens a 404 page
- Download or bookingNever reached
- Next sales stepLead goes cold
The form and email work, but the link in the email ends on a 404.
Example: of 100 people who click the link in the email, how many reach the page they were promised. Numbers are illustrative.
How to check if your site has it
Trigger the email yourself
Submit your own form or place a test order using a personal address, so the email is built exactly as a lead would get it.
Click every link
Include the button, the text links, the footer, the logo and any image links. Note any that show 404 or Page not found.
Check the final address
Right-click a link and copy it. Look for staging domains, typos, missing slashes, unreplaced merge tags such as {{download_url}}, or old paths.
Test in more than one mail app
Open the email in Gmail and Outlook or on mobile. Some tools rewrite links for click tracking, and the rewritten link can fail even when the original is fine.
Check each variant
If you have different emails per form, product, language or tag, test each one.
How to fix it
Edit the email template
In your form plugin (for example Contact Form 7 under Contact > Mail, or the Notifications tab in Gravity Forms, WPForms or Fluent Forms) correct the URL in the message body.
Redirect the old URL
If a page was renamed, add a 301 redirect from the old path to the new one with a redirect plugin or your SEO plugin's redirect manager.
Check WooCommerce emails
For order emails, go to WooCommerce > Settings > Emails and review any custom text or links. Also check the page assignments under Settings > Advanced.
Open notification templates
Go to Settings > Notifications, open the email (for example Order confirmation) and choose Edit code.
Fix hard-coded links
Replace typed URLs with Liquid objects such as {{ shop.url }} or {{ order.order_status_url }} where possible, so they never go stale.
Add a URL redirect
If a page or product handle changed, go to Content > Menus > View URL redirects (or Online Store > Navigation > URL Redirects, depending on your admin) and redirect the old path.
Know the limits
GTM does not send or edit emails. The fix lives in your form tool or email platform.
Check links built from data
If an email link is assembled from a data layer value or a tag you control, review that variable so it outputs a complete, valid URL.
Fix the page the link points to
If the page slug changed, go to Project settings > Hosting > 301 redirects and add old path to new path.
Update form confirmations
Webflow's own form notifications are plain. If you use an external tool for the autoresponder, edit the links there.
Edit the email in the workflow
Open Automation > Workflows, find the email action (or the template under Marketing > Emails > Templates) and correct each link.
Check custom values and trigger links
If the link uses a custom value or trigger link, confirm it still holds a working address.
Redirect old funnel paths
If a funnel step path changed, update the path or add a redirect under the funnel or website settings.
Edit the automation email
Open Automations in your dashboard, choose the confirmation automation, edit the email and correct the links.
Add a redirect
Go to Marketing & SEO > SEO > URL Redirect Manager and redirect the old URL to the new page.
Edit the form storage or email
For Squarespace form auto-replies, edit the message in the form's settings. For campaigns, edit the email in Email Campaigns.
Add a URL mapping
Go to Website > Pages > Utilities > URL Mappings and add
/old-path -> /new-path 301.
Build links from config
Store the base URL in one setting and build links from it, rather than typing full addresses in each template.
Add a server redirect
Redirect the old path with a 301 in your server or framework config, as shown below.
location = /old-guide {
return 301 /resources/new-guide;
}Redirect 301 /old-guide /resources/new-guideBroken
- Button points to /downloads/guide-2022
- Page was deleted in a redesign
- Lead sees Page not found
Fixed
- Button points to /resources/guide
- Old path redirects with a 301
- Lead gets the file in one click
How to confirm it's fixed
- Submit the form again and open the new email
- Click every link and see the right page load
- Copy each link and check it returns 200 (or a 301 that ends on a 200)
- Check links on mobile and in at least two mail apps
- Open the old URL and confirm it redirects to the new page
- Confirm the link has no staging domain or leftover merge tag
How to prevent it happening again
- Before you delete or rename a page, search your email templates for its URL
- Always add a 301 redirect when a URL changes
- Use platform variables for the site URL instead of typing it
- Keep a list of every email template and the links inside it
- Re-test the confirmation email after each redesign, migration or plugin update
- Run an automated check on a schedule
How FunnelGuard handles this
Questions people ask
Why is the link in my confirmation email showing a 404 error?
The page it points to was probably moved, renamed or deleted, or the URL has a typo, a staging domain or an unreplaced merge tag. Copy the link from the email and open it to see the exact address, then correct it in the template or redirect the old path.
How do I test the links in my autoresponder email?
Submit your own form or place a test order with a personal address, open the email and click every link, including buttons, footer and logo. Do it on desktop and mobile, and in more than one mail app, since click tracking can rewrite links.
Do I need a 301 redirect if I fix the email template?
Yes, if emails with the old link were already sent. Editing the template only affects future emails, so a 301 redirect from the old URL to the new page rescues the links already in inboxes.
Why does the link work in my browser but not from the email?
Your email tool may wrap links in a tracking redirect that is misconfigured, or the link may contain a hidden character or merge tag that changes the address. Copy the exact URL from the email rather than the one on your site and test that.
Can a broken link in a confirmation email hurt my sales?
Yes. The reader has just shown interest, so a dead link blocks the download, booking or order page at the best moment. Some people will email you, but others simply leave.
How often should I check links in confirmation emails?
Check after every redesign, migration, slug change or template edit, and on a regular schedule in between. An automated check that submits a test lead and requests the email links catches problems without manual work.
Does FunnelGuard check links inside confirmation emails?
Yes. It submits a test lead, waits for the confirmation email and requests each link once on arrival. If one fails, you get an alert with a screenshot and a likely cause.
Related issues
- DLV-040Autoresponder references a booking link that is no longer validFix guide
- DLV-032Confirmation email links lack UTMsFix guide
- DLV-029Confirmation email has unfilled merge tags (Hi {{first_name}})Fix guide
- DLV-027No confirmation email sent to the leadFix guide
- DLV-041Confirmation email sent with test or staging contentFix guide
- DLV-036Images in email hosted on a dead domainFix guide