Technical SEO for AI search

Do 404 Errors Hurt SEO and AI Visibility? When to Fix, Redirect or Leave Them

Quick answer: Most 404 errors don't hurt your rankings. Google says a page that is deleted with no replacement should simply return a 404. What does hurt is a 404 on a page that still gets links, traffic or AI citations. Redirect those with a 301 to the closest matching page, fix your own broken internal links, and never send everything to the homepage.

Key takeaways
  • 404s are normal. Google's own help page says 404s "don't harm your site's indexing or ranking" when the page really should not exist.
  • Some 404s do cost you. A dead page that still has backlinks, visitors or AI citations loses that value and wastes the visit. Redirect it.
  • AI tools hit dead links more often. An Ahrefs study of 16 million URLs found AI assistants send people to 404 pages 2.87 times more often than Google Search.
  • Use a server-side 301 to the closest matching page, avoid long redirect chains, and keep redirects for at least a year.

What is a 404 error, and what is a redirect?

A 404 is the "page not found" answer a server gives when someone asks for a URL that doesn't exist. A 410 means "gone for good". Google currently treats the two the same way.

A redirect sends visitors and search engines from one URL to another. The two you will use most are:

  • 301 (or 308), permanent: "this page has moved for good". Google treats it as a strong signal that the new URL should be shown in search.
  • 302 (or 307), temporary: "this page is somewhere else for now". Google treats it as a weak signal and usually keeps the old URL in results.

Every website collects 404s as products, services and posts change. The goal isn't zero 404s. It's fixing the ones that matter.

Do 404 errors hurt your Google rankings?

Mostly, no. Google's Search Console help page on 404 errors is direct about it: "404s don't harm your site's indexing or ranking." If a page was removed and there is nothing to replace it, returning a 404 is the correct, honest answer.

Here is what Google's crawling documentation (updated February 2026) says happens to a URL that returns a 4xx code:

  • Google doesn't index it, and removes it from the index if it was indexed before.
  • Google doesn't use the content from that URL.
  • Google gradually crawls that URL less often.

So a 404 doesn't drag down the rest of your site. But the page itself can no longer rank, can no longer be shown in AI Overviews or AI Mode, and any links pointing to it stop doing useful work. That's where the real cost is.

Server errors (5xx) are different and more urgent. Google slows its crawling when it sees them, and if they continue, pages that were indexed are eventually dropped. A 500 error on your main service page is an emergency. A 404 on an old 2019 offer page usually isn't.

AI assistants are more likely than Google to send people to pages that don't exist. Ahrefs studied 16 million URLs cited by ChatGPT, Perplexity, Copilot, Gemini, Claude and Mistral (published September 2, 2025). It found:

  • AI assistants sent visitors to 404 pages 2.87 times more often than Google Search: 0.43% of clicked URLs on average, against 0.15% for Google.
  • ChatGPT was the worst of the group: 1.01% of the URLs people clicked and 2.38% of the URLs it cited were 404s.
  • Some of these were real pages that had since been deleted. Others were invented: URLs that followed a site's usual pattern but never existed.

There are two reasons this matters for a business. First, a person who clicks through from ChatGPT is often already close to buying, and a dead page loses them. Second, Google's generative AI features use the same index as normal Search. Its guide to AI features (updated July 10, 2026) says a page must be indexed and eligible to show a snippet to appear in them. A page that returns 404 meets neither condition.

To keep perspective: Ahrefs also noted that AI assistants sent about 0.25% of one site's traffic against 39.35% from Google, so AI dead links are a small leak. Fix them when the fix is quick, and focus first on the pages that already bring business.

Which 404 errors should you fix, and which can you ignore?

Use this table to sort them. It follows Google's own advice in Search Console Help and the Page indexing report.

SituationWhat to doWhy
Page moved to a new URL (new slug, new site structure)301 redirect to the new URLKeeps visitors, links and history with the page
Old page has backlinks, traffic or AI citations, and a close replacement exists301 redirect to the closest matchRecovers value from links and referrals
Your own menu, internal link or sitemap points to a dead URLFix the link or remove it from the sitemapGoogle says 404s you link to or submit are worth fixing
Common misspelling of a real URL301 redirect to the correct pageCatches typos from people and AI tools
AI tools cite a URL that never existed, and it gets real visits301 redirect if a sensible page existsAhrefs recommends this for hallucinated URLs with meaningful traffic
Page removed for good, no replacement, no linksLeave it as 404 or 410Google calls this the correct response
Random junk URLs from bots or spam sitesIgnoreThey don't affect your site's search performance

Two things not to do. Don't redirect every dead page to the homepage. Google's help page warns against it, and it confuses visitors who expected a specific service or product. And don't block 404 pages in robots.txt to hide them. That stops Google from seeing the 404 at all.

What is a soft 404, and why is it worse than a real one?

A soft 404 is a page that looks empty or says "not found" but tells the server everything is fine (a 200 code). Google spots these and reports them as "Soft 404" in Search Console. They're common on Indian e-commerce and listing sites: an empty category page, a "0 results" search page, or a product page that just says "currently unavailable" with nothing else.

Soft 404s waste crawling and send mixed signals. Google's Page indexing report gives two fixes:

  1. If the page truly doesn't exist, make the server return a real 404 or 410.
  2. If the page should exist, add real content: product details, alternatives, prices in ₹, delivery information, related services. Then test it with URL Inspection and "View tested page".

For products that are only temporarily out of stock, keep the page live with full details and a clear "back in stock" option. A thin page is the problem, not the stock status.

How do you find broken pages on your site?

You need three views: what Google sees, what your own site links to, and what AI tools send people to.

Step 1: Check Google Search Console

Open Indexing, then Pages. Look at the "Not found (404)", "Soft 404", "Redirect error" and "Server error (5xx)" rows. Click each one to see example URLs. Focus on URLs that you link to, list in your sitemap or that used to get traffic.

Step 2: Crawl your own links

Broken internal links are the easiest win because they're fully in your control. The free Pagelens Broken Link Checker finds dead links (404s), redirects and connection errors on any page. Start with your homepage and main service pages. Our guide to internal linking for SEO and AI search explains how to rebuild those links properly.

Step 3: Check where AI traffic lands

In Google Analytics, filter landing pages for referrals from chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com. Any landing page that shows a "not found" title is a dead link an AI tool is handing out. Ahrefs suggests focusing on pages with more than about 10 visits a month.

Step 4: Check old backlinks

Look for links from other websites that point to pages you've deleted. These are often old press mentions, directory listings or partner pages. Each one is worth a redirect if a matching page exists.

Step 5: See how AI tools describe you

If AI answers keep pointing to an old URL or an outdated service, that's a sign the old page is still in their sources. The free Pagelens AI visibility audit asks real buyer prompts across ChatGPT, Claude, Gemini and Perplexity, with no signup, and shows what each one says about you and which sources it cites.

How do you set up redirects the right way?

Google's redirects documentation (updated April 2026) is clear about the order of preference:

  1. Server-side 301 or 308. The most reliable option. Set it up in your hosting panel, your .htaccess file, your CMS (for example a WordPress redirect plugin, or Shopify's URL redirects) or your platform's config file.
  2. Instant meta refresh. Only if you can't do server-side redirects. Google treats a zero-second refresh as permanent.
  3. JavaScript redirect. A last resort. Google has to render the page to see it, and rendering can fail.

A few rules keep redirects healthy:

  • Point to the closest match. "/services/gst-registration-delhi/" should go to your current GST registration page, not to "/services/".
  • Avoid chains. Google's crawlers follow up to 10 redirect hops, but every hop slows visitors down and adds risk. Long chains and loops show up as "Redirect error" in Search Console. Point old URLs straight to the final page. The free Pagelens Redirect Checker traces the full path of any URL and flags chains, loops and 302s.
  • Update your own links. After adding a redirect, change your menus, internal links and sitemap to the new URL, so you aren't relying on the redirect.
  • Keep redirects for at least a year. Google's John Mueller has said that "we recommend keeping the redirect in place for at least one year." For pages with strong backlinks, keep them longer.
  • Tell Bing too. IndexNow, which is used by Bing and several other search engines, accepts URLs that have been deleted, moved or redirected, so they get rechecked sooner.

If you're redesigning your site or changing your URL structure, plan the redirect map before launch, not after. Our guide to updating old content for SEO and AI search covers when to merge pages and how to redirect them.

What should a good 404 page include?

Even with good redirects, some visitors will land on a 404. A helpful custom 404 page turns a dead end into a second chance. Ahrefs suggests this for AI-invented URLs that don't deserve a redirect. A good one:

  • Returns a real 404 status code (not 200, which would make it a soft 404).
  • Says plainly that the page wasn't found, in friendly words.
  • Links to your main services, best-selling products or most popular guides.
  • Includes a search box and your contact details, such as a phone number or WhatsApp link.

An illustrative example: a Jaipur travel agency renames its tour pages in a redesign, but ChatGPT keeps citing the old "/rajasthan-tour-packages/" URL. 301 redirects to the new tour pages, plus a 404 page listing popular tours with a WhatsApp button, send those visitors somewhere useful again.

Does fixing 404s improve AI visibility?

Indirectly, yes. Fixing 404s doesn't make an AI tool recommend you. It makes sure the pages that should earn citations can be crawled, indexed and opened. Google says its AI features are rooted in its core ranking systems and that you don't need special AI files or markup. That means basic technical health comes first.

Once the foundations are sound, content quality does the rest. The GEO research paper (KDD 2024) found that adding statistics, quotations and cited sources raised visibility in AI-generated answers by up to 40%. That only helps if the page is live when the AI tool goes to fetch it.

At OffBuddy, technical clean-up is always the first step of our AI visibility work. For iProledge, AI visibility rose from 3.8% to 24% in 3 months. For Deepsolv, it rose from 0% to 6.8% in 2 months. In both cases the gains came from a full programme of fixes and content, not from redirects alone. If pages aren't getting indexed at all, start with our indexing checklist for Google and AI search.

How we put this guide together: We started with Google's primary documentation: how HTTP status codes affect Google's crawlers (updated February 4, 2026), Redirects and Google Search (updated April 14, 2026), the Search Console help pages on 404 errors and the Page indexing report, and Google's guide to generative AI features (updated July 10, 2026). We added the Ahrefs study of 16 million AI-cited URLs (September 2, 2025), John Mueller's redirect advice as reported by Search Engine Journal, the IndexNow FAQ and the peer-reviewed GEO paper (KDD 2024). The Jaipur travel agency example is illustrative. All figures and quotes were checked against their sources on October 27, 2026.
Not sure which broken pages are costing you leads? We'll check your site's 404s, redirects and AI referral traffic, find the pages that still carry links and citations, and fix them in the right order. Ask for a technical SEO and AI visibility check or see our SEO services.

Sources

  1. Google Search Central: How HTTP status codes, and network and DNS errors affect Google Search (updated February 4, 2026)
  2. Google Search Central: Redirects and Google Search (updated April 14, 2026)
  3. Search Console Help: 404 (Page Not Found) errors
  4. Search Console Help: Page indexing report
  5. Google Search Central: Optimizing for generative AI features in Google Search (updated July 10, 2026)
  6. Ahrefs: How Often Do AI Assistants Hallucinate Links? (16 Million URLs Studied) (September 2, 2025)
  7. Search Engine Journal: Google: Keep 301 Redirects In Place For A Year (December 2, 2021)
  8. IndexNow: Frequently asked questions
  9. Aggarwal et al.: GEO: Generative Engine Optimization (KDD 2024)
Surender K, Co-Founder of OffBuddy
Written by , Co-Founder, OffBuddy

Surender K is Co-Founder of OffBuddy, a Bengaluru marketing and tech agency. He works on SEO, Google Ads and Meta Ads campaigns and the websites they point to, for businesses in India and the US.

Frequently asked questions

Short answers to the questions we hear most often on this topic.

Do 404 errors hurt SEO?

Usually not. Google says 404s don't harm your site's indexing or ranking when the page really shouldn't exist. They only cost you when the dead page still has links, traffic or AI citations.

Should I redirect all 404 pages to the homepage?

No. Google advises against it. Redirect a dead page only to a closely matching page, and let pages with no replacement return a 404 or 410.

What is the difference between a 404 and a 410?

A 404 means not found and a 410 means gone for good. Google currently treats them the same, so either is fine for permanently deleted pages.

How long should I keep a 301 redirect?

At least a year. Google's John Mueller has recommended keeping redirects in place for at least one year, and longer for pages with strong backlinks.

Why does ChatGPT link to pages that don't exist on my site?

AI assistants sometimes cite pages that were deleted or invent URLs that look like yours. If an invented URL gets real visits, redirect it to the closest matching page.

Is there a free tool to find broken links?

Yes. The Search Console Page indexing report shows 404s Google found, and the free Pagelens Broken Link Checker and Redirect Checker find dead links, chains and loops on any page.

Want marketing that answers the questions your customers ask?

Get In Touch