Back to Blog
Web Design

What Is a 404 Error and How Do You Fix Broken Links?

Service technician in a cap sitting in the open side door of a white work van, typing on a laptop on a gravel lot

A 404 error means someone asked your website for a page it can't find, usually because the page was deleted, renamed or the link was mistyped. A few 404s don't hurt your Google rankings, but broken links lose customers. Fix them by redirecting moved pages, correcting bad links and giving your 404 page a phone number.

Maybe a customer texted you a screenshot that says "Page not found," or you clicked your own "Services" link from an old Facebook post and hit a dead end. Or Google Search Console sent you an email about "Not found (404)" pages. It sounds alarming. In most cases it takes less than an hour to sort out, and you don't need to be technical to do it.

What does a 404 error mean?

It means your web server answered "this page doesn't exist." The number 404 is the HTTP status code the server sends back for a missing page, the same way 200 means "here is the page" and 301 means "this page moved."

Common causes on a small business site:

  • A page was deleted, such as a service you no longer offer.
  • A page was renamed during a redesign, and nobody set up a redirect.
  • A link has a typo, on your own site or someone else's.
  • An old link is still out there in a Facebook post, an ad, a directory listing or your Google Business Profile.

Do 404 errors hurt my Google rankings?

No, not by themselves. Google's Search Central blog answered this directly in Do 404 errors hurt my site?: missing URLs on your site don't affect how your other pages perform in search. Google even says it prefers a proper 404 or 410 when a page is gone.

What 404s do affect is the missing page itself. Google's documentation on how HTTP status codes affect Google Search says URLs that return a 4xx status code are not indexed, and pages already indexed are removed. It treats all 4xx errors the same way, except 429, which signals an overloaded server. So if a page you care about returns 404, it will drop out of Google.

The bigger cost is people. A customer who taps a broken link on their phone often just goes back to the search results and calls someone else.

Use free tools and a short manual check. Do it after any redesign and a few times a year.

Check Google Search Console

Open the Pages report (Page indexing) and look for "Not found (404)." Google's Page indexing report help explains that Google may have found these URLs through a link on another page, or because the page existed before and was deleted. It also notes that Googlebot may keep checking a missing URL for some time, crawling it less and less often.

The free W3C Link Checker scans a page, or a whole site with the recursive option, and lists links that fail. Start with your homepage and main service pages.

Tap the website link on your Google Business Profile, your Facebook and Instagram bios, your Yelp page and any running ads. These are the links customers use most, and they are the ones that break when page addresses change.

How do I fix a 404 error?

Match the fix to the cause. This table covers the cases most local businesses run into.

What happened The fix
The page moved to a new address Set up a 301 redirect from the old address to the new one
A link on your own site has a typo Edit the link to the correct address
Someone else's site links to a misspelled address Redirect the misspelled address to the right page
The page is gone and nothing replaces it Let it return 404 (or 410) and make your 404 page helpful
Your profile or ads point to an old page Update the link in the profile, bio or ad

When to use a redirect

Use a 301 redirect whenever a real page has a new home. Google's guide to site moves with URL changes says to keep redirects as long as possible, generally at least 1 year. Our guide to 301 redirects walks through when you need one and the mistakes to avoid.

When to leave the 404 alone

If a page is gone for good and there is no close match, a 404 is the honest answer. Google's Page indexing help says 404 responses are not necessarily a problem when a page has been removed without a replacement.

What is a soft 404 and why does it matter?

A soft 404 is a missing page that tells Google "everything is fine" instead of returning a 404 code. Google's blog gives two common examples: a friendly "page not found" page that returns a 200 success code, and a site that sends every unknown address to the homepage. Google says both can cause problems with how it understands and indexes your site.

The fix is to have your server return a real 404 code while still showing a helpful page. Google says you can serve whatever content you want on a page that returns 404.

What should a good 404 page include?

A good 404 page helps the lost visitor find what they came for in one tap. Check yours against this list:

  • [ ] A short, plain message, such as "Sorry, we can't find that page."
  • [ ] Your phone number as a tap-to-call link
  • [ ] Links to your main services and your contact page
  • [ ] Your normal menu and logo, so it still looks like your business
  • [ ] A real 404 status code, not a redirect to the homepage

For a trades business, the service links matter most. A homeowner looking for "water heater repair" should land one tap away from that page. Our plumber website guide shows how to lay out service pages so they are easy to reach from anywhere, including a 404 page.

Frequently asked questions

How many 404 errors is too many?

There is no number to hit. Google says 404s are a normal part of the web and don't count against your other pages. Focus on the ones for pages you care about and the links customers actually use.

Should I redirect all 404 pages to my homepage?

No. Google may treat many old pages redirected to the homepage as soft 404s, and visitors land somewhere that doesn't answer their question. Redirect only to a close match, and let true dead ends return 404.

What is the difference between a 404 and a 410?

Both say the page isn't available. A 410 means "gone on purpose," while a 404 means "not found." Google's status code documentation treats all 4xx codes other than 429 the same way.

How long does it take Google to drop a 404 page?

Google doesn't give a fixed time. Its Page indexing help says Googlebot will keep trying a missing URL for a while, crawling it less and less often, and pages that return 404 are removed from the index.

A broken link is usually a symptom of a site that hasn't been looked after since it launched. If you are seeing other problems too, read our guide to signs your website is hurting sales.

Related: What is a 301 redirect and when do you need one? · What is an SSL certificate and why does my site say "Not secure"? · What pages should a small business website have?