Hallucinated URLs: When AI Invents Pages on Your Website

<h2>What Are Hallucinated URLs?</h2> <p>A <a href="/glossaire/en/url-hallucinee">hallucinated URL</a> is a web address fabricated entirely by a language model (<a href="/glossaire/en/llm">LLM</a>) when generating a response. The model, unable to verify whether web pages actually exist, constructs URLs that appear plausible but do not exist on your site. This phenomenon, known as <a href="/glossaire/en/hallucination-ia">AI hallucination</a>, affects all major language models without exception.</p> <p>In practice, when a user asks <a href="/glossaire/en/chatgpt">ChatGPT</a>, <a href="/glossaire/en/claude">Claude</a>, or <a href="/glossaire/en/perplexity">Perplexity</a> for information about your brand, the model may invent URLs like <code>yoursite.com/services/strategic-consulting</code> or <code>yoursite.com/enterprise-pricing</code> even though these pages simply do not exist. Users who click these links land on a 404 error, damaging your brand image and representing a missed opportunity.</p> <h2>Real-World Impact on Brands</h2> <p>The consequences of hallucinated URLs go far beyond a simple technical error:</p> <ul> <li><strong>404 errors from AI traffic</strong>: users arrive at non-existent pages, creating a negative experience and immediate trust loss. Our data shows that 18% of AI referral traffic leads to 404 pages on average.</li> <li><strong>Reputation damage</strong>: when an LLM cites an invented URL, users may perceive your site as poorly structured, outdated, or unreliable. This can deter high-intent prospects.</li> <li><strong>Missed opportunities</strong>: each hallucinated URL represents a real user need your site fails to meet. If an LLM invents <code>/enterprise-pricing</code>, it is likely because users are searching for that information.</li> <li><strong>Impact on <a href="/glossaire/en/score-natif">native score</a></strong>: AI bots following these links and encountering 404s negatively adjust their evaluation of your site.</li> </ul> <h2>How Different Models Hallucinate</h2> <p>Each language model has its own URL hallucination patterns:</p> <h3>GPT-4 and ChatGPT</h3> <p>OpenAI's models tend to generate logically structured URLs, often replicating your site's navigation patterns. They frequently invent sub-pages for services or products that do not exist but would be consistent with your business. Observed hallucination rate: approximately 12% of cited URLs.</p> <h3>Claude (Anthropic)</h3> <p><a href="/glossaire/en/claude">Claude</a> is generally more cautious with URL generation, often preferring to link to the homepage or generic pages. When it hallucinates, it tends to invent blog-type or resource URLs. Observed hallucination rate: approximately 8% of cited URLs.</p> <h3>Gemini (Google)</h3> <p><a href="/glossaire/en/gemini">Gemini</a> benefits from access to Google's index, which reduces its URL hallucinations. However, it may cite indexed but since-deleted pages, or obsolete URL versions. Observed hallucination rate: approximately 6%.</p> <h3>Perplexity</h3> <p><a href="/glossaire/en/perplexity">Perplexity</a> performs real-time searches, considerably reducing URL hallucinations. Nevertheless, it may confuse URLs between similar sites or cite partially correct URLs. Observed hallucination rate: approximately 4%.</p> <h2>How AI Labs Audit Detects Hallucinated URLs</h2> <p>Hallucinated URL detection is a key platform feature, integrated directly into the audit process:</p> <h3>Per-Model Tracking</h3> <p>During each audit, the platform queries major LLMs with structured prompts. Each response is analyzed to extract all mentioned URLs. These URLs are then verified against your sitemap and crawled to confirm their actual existence.</p> <h3>Response Analysis</h3> <p>The system does not merely verify URL existence. It also analyzes the context in which they are cited: what question triggered the hallucination? What type of page was invented? Is there a recurring pattern? This analysis reveals unmet user expectations.</p> <h3>Extraction and Categorization</h3> <p>Hallucinated URLs are automatically categorized: service pages, product pages, blog articles, pricing pages, contact pages, etc. This categorization helps prioritize corrective actions.</p> <h2>Dashboard Visualization</h2> <p>The <a href="/glossaire/en/tracking-ia">AI tracking</a> displays hallucinated URLs in a dedicated dashboard. You will find:</p> <ul> <li>A complete list of detected hallucinated URLs, sorted by frequency</li> <li>The model(s) that generated each URL</li> <li>The context (prompt or question) that triggered the hallucination</li> <li>Time evolution (new hallucinations, recurring hallucinations)</li> <li>Processing status (untreated, redirect in place, page created)</li> </ul> <h2>What to Do with Hallucinated URLs</h2> <p>Once detected, several strategies are available:</p> <h3>Implementing 301 Redirects</h3> <p>The fastest solution: redirect the most frequent hallucinated URLs to the most relevant existing pages. If an LLM invents <code>/services/complete-audit</code>, redirect it to your actual services page. This immediately transforms lost traffic into useful traffic.</p> <h3>Creating Missing Pages</h3> <p>If a hallucinated URL recurs regularly, it signals genuine demand for that content. Create the corresponding page with rich, <a href="/glossaire/en/geo">GEO</a>-optimized content. This approach transforms hallucinations into content opportunities.</p> <h3>Monitoring Patterns</h3> <p>Analyze hallucination trends to anticipate needs. If LLMs systematically invent comparison pages, FAQs, or pricing pages, this is a strong signal for content creation. Integrate these insights into your editorial strategy.</p> <h2>Prevention Strategies</h2> <p>Beyond reactive correction, several proactive strategies reduce hallucination rates:</p> <h3>Strengthen Real URL Structure</h3> <p>Clear, logical, descriptive URLs are less likely to be hallucinated because LLMs memorize them better. Adopt a coherent and predictable URL architecture.</p> <h3>Optimize the Sitemap</h3> <p>A complete, up-to-date <a href="/glossaire/en/sitemap-xml">XML sitemap</a> helps LLMs learn your site's real structure. Ensure all important pages are included with rich metadata.</p> <h3>Schema.org and Structured Data</h3> <p><a href="/glossaire/en/donnees-structurees">Structured data</a> provides LLMs with an accurate map of your site. The richer your structured data (SiteNavigationElement, WebPage, BreadcrumbList), the more reliable information models have about your real URLs.</p> <h3>llms.txt File</h3> <p>The <a href="/glossaire/en/llms-txt">llms.txt</a> can include a section listing your main URLs, explicitly guiding LLMs toward your real pages. See our <a href="/blog/en/llms-txt-guide-visibilite-ia">complete llms.txt guide</a> for more.</p> <h2>Hallucination Rate Statistics</h2> <p>Based on data collected on our platform across hundreds of sites:</p> <ul> <li><strong>74%</strong> of sites have at least one hallucinated URL detected during the first audit</li> <li><strong>3.2 URLs</strong> hallucinated on average per brand per model</li> <li><strong>E-commerce sites</strong> are most affected (5.7 hallucinated URLs on average) due to catalog complexity</li> <li><strong>After correction</strong> (redirects + pages created), the hallucination rate drops by 61% on average over 3 months</li> <li><strong>Recovered traffic</strong> via redirects represents on average 8% of total AI referral traffic</li> </ul> <h2>Case Study Examples</h2> <blockquote>A management consulting firm discovered that <a href="/glossaire/en/chatgpt">ChatGPT</a> was systematically inventing a page at <code>/expertise/digital-transformation</code>. By creating this page with rich content and a dedicated <a href="/glossaire/en/page-vitrine">showcase page</a>, the firm recovered over 200 qualified monthly visits within 8 weeks.</blockquote> <blockquote>A B2B SaaS brand identified via <a href="/blog/en/tracking-bots-ia-mentions-llm-referral">complete AI tracking</a> that 4 different models were hallucinating a competitor comparison page. Creating this objective comparison page generated a 23% boost in overall <a href="/glossaire/en/taux-de-mention">mention rate</a>.</blockquote> <h2>Integration with the Audit Ecosystem</h2> <p>Hallucinated URL detection integrates into a global <a href="/glossaire/en/geo">GEO</a> strategy. Combine it with the <a href="/blog/en/38-point-geo-checklist-the-complete-technical-audit-for-ai">38-point GEO checklist</a> for complete coverage, and use <a href="/blog/en/audits-programmes-suivi-geo">scheduled audits</a> to monitor hallucination evolution over time. The <a href="/blog/en/analyse-concurrentielle-ia-geo">competitive analysis</a> also allows you to compare your hallucination rate against competitors.</p>
About the author

Davy Abderrahman

Founder & CEO at

Specialist in AI visibility (AEO/GEO/LLMO), I help agencies and consultants measure and optimize their clients' presence on ChatGPT, Claude, Gemini, Perplexity and other AI answer engines. Pioneer in AI visibility auditing since December 2025.

AEO GEO LLMO AI Visibility AI Audits
When a customer asks AIs without naming a brand, someone else gets recommended. What about the brands you manage?

Every question asked to ChatGPT without the brand in the answer is a competitor recommended in its place: measured across 6,820 real AI answers.

Was this article helpful?

- (0 votes)