Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Hallucinated URLs from AI assistants: how to redirect them

SEO-401Medium impactOther toolBy FunnelGuardPublished
On this page

What this issue is

A hallucinated URL is a web address an AI assistant makes up. The model knows your domain and guesses a plausible path, for example /pricing-plans when your page is /pricing. It then shows that link in an answer as if it were real.

This is different from an assistant linking to a page that used to exist and was removed. That case is covered in SEO-400. Here the page never existed at that address.

Why it costs you leads or sales

People who click a link in an AI answer are often ready to act. If the link returns a 404 page, most will not search again. You lose a warm visitor, and the assistant may keep repeating the same bad link.

What happens to a visitor
  1. Asks AI assistantUser asks about your product or pricing
  2. Clicks cited linkLink points to /pricing-plans
  3. 404 pageURL never existed on your site
  4. Visitor leavesNo search, no click-through
  5. Lead or saleNever reached

The break is the made-up URL. Everything after it is lost.

Visitors from AI links reaching a real pageExample numbers
Visitors from AI links reaching a real page (example)Clicks on made-up URL: 100 visits; Reach content, no redirect: 0 visits; Reach content, with redirect: 100 visits038771000100Clicks on made-up URLReach content, no red…Reach content, with r…visits

Example: 100 clicks from AI answers to a made-up URL. Numbers are illustrative only.

How to check if your site has it

Find made-up URLs that AI users are clicking
  1. Filter analytics for AI referrersGoogle Tag Manager

    In GA4, open Reports > Acquisition > Traffic acquisition, then add a filter on session source containing chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com or claude.ai. Note the landing pages.

  2. Find landing pages that are 404s

    In GA4, add a Page title dimension and look for your 404 page title (often 'Page not found'). Compare with the page path to list the missing URLs.

  3. Check server logs

    Search access logs for 404 responses where the referrer contains an AI domain. Your host, CDN or log tool will usually let you filter by status code and referrer.

  4. Ask the assistants yourself

    Ask ChatGPT, Perplexity and Gemini questions about your pricing, contact page and main products. Click every link they give for your domain and note any that return 404.

  5. Check Search Console

    In Google Search Console, open Indexing > Pages and look at 'Not found (404)'. Some made-up URLs show up here if they are linked from other sites.

How to fix it

Decide for each URL whether it has an obvious real target. If yes, 301 redirect it. If the intent is unclear, send it to a useful hub page or leave the 404 and improve the 404 page. Do not redirect everything to the homepage, because search engines may treat that as a soft 404.

How to treat different made-up URLs
Made-up URLReal pageAction
/pricing-plans/pricing301 redirect
/blog/guide-to-crm-setup/blog/crm-setup-guide301 redirect
/features/ai-toolNo such featureRedirect to /features or keep 404
/random-string-123NoneLeave as 404
Add the redirect on your platform
  1. Use a redirect manager

    Install a redirects plugin such as Redirection, or use the redirect feature in your SEO plugin.

  2. Add a 301

    Enter the made-up path as the source and the real page as the target, with type 301.

Squarespace URL mapping formattext
/pricing-plans -> /pricing 301
Apache .htaccesshtaccess
Redirect 301 /pricing-plans https://www.example.com/pricing
Nginxnginx
location = /pricing-plans {
  return 301 https://www.example.com/pricing;
}

How to confirm it's fixed

Confirmation checks
  • Open each made-up URL in a private window and confirm it lands on the intended page.
  • Check the response is a single 301, not a chain of redirects.
  • Add ?utm_source=test to the made-up URL and confirm the parameter survives.
  • Re-ask the assistants and click the links they give.
  • Look at AI-referred landing pages in GA4 a week later and confirm 404 titles have dropped.

How to prevent it happening again

You cannot stop a model from guessing, but you can make guesses less likely and cheaper when they happen.

Prevention habits
  • Use short, predictable URLs such as /pricing, /contact and /about.
  • Keep an llms.txt or sitemap that lists your real key pages.
  • Put key facts in plain HTML text so assistants do not need to guess.
  • Review AI-referred 404s monthly and add redirects for new patterns.
  • Keep redirects when you rename or move pages.

How FunnelGuard handles this

FunnelGuard does not check for hallucinated URLs yet. It is a possible future check. Today, FunnelGuard runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and checks each step, so it can tell you when a page in a journey breaks or a form stops working.

That covers pages you already know about. It does not find URLs that an AI made up. To watch for those, use the GA4 filter, server log search and manual assistant checks described above, on a monthly schedule. A free read-only FunnelGuard website audit can also give you a starting view of your site, though it is not a substitute for log review.

Questions people ask

Why is ChatGPT giving me a link to a page that doesn't exist on my site?

Language models predict likely text, including URLs. If a model has seen your domain but not the exact page, it may guess a plausible path like /pricing-plans. The link looks real but was never published.

How do I find hallucinated URLs pointing to my website?

Filter GA4 traffic by AI referrers such as chatgpt.com and perplexity.ai and look at landing pages that show your 404 title. Also search server logs for 404 responses with AI referrers, and ask assistants about your brand and click the links.

Should I redirect AI-invented URLs to my homepage?

Only as a last resort. Redirect each URL to the closest relevant page, such as /pricing-plans to /pricing. Mass redirects to the homepage give visitors a confusing landing and may be treated as soft 404s by search engines.

Do I need a 301 or a 302 redirect for these URLs?

Use a 301 because the mapping is permanent. It tells search engines and other systems that the old path should resolve to the new one.

Can I stop AI assistants from making up URLs on my site?

Not fully, since you do not control the model. You can reduce it with clear predictable URLs, key facts in plain HTML text, an up-to-date sitemap and llms.txt, and by redirecting the guesses that do appear.

Will redirecting hallucinated URLs hurt my SEO?

No, as long as each redirect points to a relevant page and avoids chains. Sensible 301s turn dead-end visits into real ones and do not harm your existing rankings.

Does FunnelGuard detect hallucinated URLs from AI assistants?

No, not yet. It is a possible future check. FunnelGuard currently monitors your known customer journeys, so use analytics filters, server logs and manual tests to find made-up URLs.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

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.