On this page
What this issue is
AI assistants answer questions using pages they crawled or stored earlier. When they cite your site, they link to the address they have on record. If you changed the URL, deleted the page or migrated the site since then, that link now returns a 404 (page not found) or lands on an old page that is out of date.
It is different from an assistant making up an address that never existed (see the related guide on hallucinated URLs). Here the URL was real once, and you own the fix.
Why it costs you leads or sales
A person who clicks a citation has already been told your page answers their question. If they hit an error page, most will go back and click a competitor. You paid for the visibility with content and effort, then lose the visit at the last step.
Old URLs that still load can be just as bad. A cited pricing or product page that is out of date can show wrong prices or a discontinued plan, which sends buyers into a funnel that no longer works.
- User asks AIAsks about your product or service
- AI cites your URLUses an address from an older crawl
- Click lands on 404Page moved or deleted, no redirect
- Visitor leavesGoes back to the AI answer or a rival
- Lead or saleNever reached
The assistant cites an address that no longer exists, so every later step is lost.
Example: 100 monthly visits from AI assistants, where 30 land on a 404 and do not convert.
How to check if your site has it
Filter AI referrals in analyticsGoogle Tag Manager
In GA4, open Reports > Acquisition > Traffic acquisition, add a filter on Session source containing chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com or claude.ai. Then add Landing page as a secondary dimension.
Look for error pages in the landing list
Landing pages with a 404 title, or with near-zero engagement time, are candidates. In GA4 you can also search the Page title column for 'Page not found'.
Check server logs or CDN logs
Search for requests with a 404 status where the referrer contains an AI domain. Also look at 404s requested by bots such as GPTBot, OAI-SearchBot or PerplexityBot, which show that they hold old addresses.
Check Google Search Console
Open Pages (Indexing) and review 'Not found (404)' and 'Page with redirect'. Addresses listed here are often the same ones AI tools learned.
Ask the assistants directly
Ask ChatGPT, Perplexity and Gemini questions about your brand, pricing and main products. Click each cited link and note any that fail or show old content.
awk '$9 == 404' access.log | grep -Ei 'chatgpt.com|perplexity.ai|gemini.google.com|copilot.microsoft.com|claude.ai' | awk '{print $7}' | sort | uniq -c | sort -nr | head -50How to fix it
The core fix is a 301 redirect (a permanent redirect) from each old address to the most relevant live page. Send people to a page that answers the same question, not always to the home page. If there is no equivalent page, restore the content or create a useful replacement.
Use a redirect tool
Use the Redirection plugin, or the redirects feature in Yoast SEO Premium or Rank Math. Add each old path as the source and the new page as the target, type 301.
Review the 404 log
Redirection and Rank Math can log 404s. Redirect the ones that have real value.
Open URL redirects
Go to Online Store > Navigation > View URL Redirects (or Content > Menus > URL redirects in newer admin).
Create the redirect
Click Create URL redirect, enter the old path such as /products/old-name and the new path or full URL, then save. Shopify creates a 301 automatically when you rename a handle and tick the redirect box.
Open 301 redirects
Go to Site settings > Publishing > 301 redirects.
Add the paths
Enter the old path (for example /old-page) and the new path, click Add redirect path, then publish the site.
Use the Redirect Manager
Go to Marketing & SEO > SEO Tools > URL Redirect Manager (or Site & Mobile App SEO tools, depending on your dashboard).
Add the redirect
Click New Redirect, enter the old URL and select the new page.
Open URL Mappings
Go to Settings > Developer Tools > URL Mappings.
Add a mapping line
Add a line in the form /old-page -> /new-page 301 and save.
Open URL redirects
Go to Sites > Funnels or Websites, open Settings or the Redirects section, and add a redirect from the old path to the new one.
Check the type
Pick a permanent redirect if the option is offered and test it in a private window.
Add rules on the server
Use the nginx or Apache examples below. Reload the server after editing.
Test the result
Run curl -I on the old URL and confirm a 301 followed by a 200.
location = /old-pricing {
return 301 /pricing$is_args$args;
}Redirect 301 /old-pricing /pricingList the dead URLs
Combine the lists from analytics, logs and Search Console into one sheet with the old URL, the best replacement and the status.
Map each one to a new page
Pick the closest match in topic. Do not redirect everything to the home page, as that confuses visitors and search engines.
Add the 301 redirects
Use the tab above for your platform.
Fix internal links and the sitemap
Update menus, buttons and content links to the new URL. Make sure your XML sitemap lists only live 200 pages, and your llms.txt file, if you have one, points to live pages.
Ask for a recrawl
In Search Console, use URL Inspection on key new pages and request indexing. Bing Webmaster Tools has a similar submit option and feeds Copilot and ChatGPT search.
No redirect
- /old-pricing returns 404
- AI visitors see an error page
- Sitemap still lists the old URL
301 redirect in place
- /old-pricing returns 301 to /pricing
- Visitors land on the live page
- Sitemap lists only /pricing
How to confirm it's fixed
- Every old URL on your list returns a 301 and ends on a 200 page in one hop (test with curl -I or a redirect checker).
- The destination page matches the topic of the old one.
- UTMs and other query parameters survive the redirect.
- No 404 or redirect URLs appear in your XML sitemap.
- The 404 count from AI referrals in your logs or GA4 falls over the following weeks.
- The links cited by ChatGPT, Perplexity and Gemini open working pages when you click them.
How to prevent it happening again
Month 0
An AI tool crawls your page and stores its address.
Month 3
You rename the page or relaunch the site and skip redirects.
Month 4
Assistants still cite the old address and visitors hit 404s.
Month 5
You add 301 redirects and update the sitemap.
- Never change or delete a URL without adding a 301 in the same release.
- Keep a redirect map for every migration or redesign and test it before launch.
- Keep old redirects for years, not weeks.
- Review 404s from Search Console and logs monthly.
- Keep sitemap and llms.txt limited to live, final URLs.
- Run your monthly check of AI answers about your brand and click every link.
How FunnelGuard handles this
FunnelGuard does not check this yet. Spotting URLs that AI assistants cite and that now return 404 is a possible future check, not a current feature.
What FunnelGuard does today is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and check each step. If a page in a journey starts returning an error, that step fails, is re-checked from a second region and you get one alert with a screenshot. This covers the pages you have set up as journeys, not every URL an AI might cite.
To watch for cited dead URLs yourself, use a GA4 exploration filtered to AI sources with landing pages, a monthly log search like the one above, the Page indexing report in Search Console, and a crawler such as Screaming Frog or a free link checker run against your sitemap.
Questions people ask
Why is ChatGPT linking to a 404 page on my website?
ChatGPT cites addresses it learned from earlier crawls or search results. If you have since renamed, moved or deleted that page without a redirect, the stored link now returns a 404. Add a 301 redirect from the old URL to the closest live page.
How do I find which broken URLs AI assistants are sending traffic to?
In GA4, filter Traffic acquisition by sources such as chatgpt.com and perplexity.ai, then add Landing page as a dimension and look for error pages. You can also search server logs for 404 responses with an AI referrer, and check Search Console for 404s.
Should I use a 301 or a 302 redirect for old URLs that AI cites?
Use a 301 when the move is permanent, which is the usual case for old or renamed pages. A 302 signals a temporary move and may keep the old address in use for longer.
How long until AI assistants stop linking to the old URL?
It varies by assistant and there is no fixed time. Some update within days, others take weeks or months. The redirect protects visitors from the start, so keep it in place permanently.
Can I make Perplexity or Google AI Overviews update a cited URL?
You cannot force an update, but you can speed it up. Redirect the old URL, fix your sitemap and internal links, and request indexing in Google Search Console and Bing Webmaster Tools so crawlers find the new address sooner.
Is it bad to redirect all dead URLs to the home page?
Yes, it is usually a poor choice. Visitors who expected a specific answer land on a generic page, and search engines may treat mass home page redirects like soft 404 errors. Redirect each URL to the most relevant page.
What if the AI makes up a URL that never existed on my site?
That is a separate problem, because there is no old page to redirect. You can add redirects for the likely made-up addresses to the right live page, or create a helpful 404 page that links to your main sections.
Does FunnelGuard detect AI links to 404 pages?
No, not yet. It is a possible future check. FunnelGuard does monitor your real customer journeys and alerts you when a page in a journey breaks.
Related issues
- SEO-401Hallucinated URLs from AI assistants not redirectedFix guide
- SEO-387llms.txt outdated or linking to dead pagesFix guide
- SEO-399AI referral traffic not tracked (chatgpt.com, perplexity.ai sources)Fix guide
- SEO-395AI answers state outdated prices, plans or facts about the brandFix guide
- SEO-386Missing llms.txtFix guide
- SEO-393Brand not cited by ChatGPT, Perplexity, Gemini or Claude for category queriesFix guide