
404 Page SEO: How to Build a Custom 404 Page (4 Tips)
September 2, 2026
A 404 page does not hurt your rankings by itself, and Google has said that 404 errors on their own are not a ranking problem. What costs you is the visitor who lands on a dead end and leaves. A good custom 404 page keeps them on your site with a clear message, a search box or links to your main services, and your phone number.
A 404 page appears when a visitor lands on an address that does not exist. It usually happens because of an outdated link, a typo, a bookmark to a page you removed, or a page that was deleted without a redirect. A well-built 404 page will not directly improve rankings, but it stops that dead end from turning into a lost visitor who leaves frustrated.
For a local business, that visitor might be someone with a leaking roof who clicked an old link from a neighborhood forum. Whether they call you or the next company depends partly on what they see in that moment. This guide covers what a good 404 page includes, where the real SEO value lies, why broken links pile up, and a monthly habit that keeps them under control.
Here is what this guide covers:
- What a good 404 page includes
- The real SEO value is in the follow-up
- Why broken links happen more often than owners realize
- A simple monthly habit worth building
1. What a good 404 page includes
A good 404 page does two jobs: it tells the visitor plainly that the page is gone, and it gets them somewhere useful within one tap.
- Clear confirmation that the page was not found, without technical jargon
- Links to your most popular pages, such as your main services and contact page
- A search box if your site has enough pages to make one useful
- Your normal site menu and branding, so it does not feel like leaving the site
- A correct 404 status code, which search engines read even though visitors never see it
- Your phone number, large and tappable, since a visitor who hit a dead end should not have to hunt for it
- A friendly, human tone that still represents your business well
Here is what that looks like for a roofing company. The page says: "Sorry, that page has moved or no longer exists. Here is where most people are headed." Below that are buttons for roof repair, roof replacement, storm damage, and free inspections, followed by the phone number and a line saying the office answers until 6 p.m. It takes an hour to set up and turns a dead end into a short detour.
The status code detail matters. Some sites show a friendly not-found message but return a normal success code. Search engines then treat the broken address as a real, thin page, which is known as a soft 404. Most site builders and WordPress themes handle this correctly, but it is worth confirming. The URL Inspection tool in Search Console will show how Google sees the address.
2. The real SEO value is in the follow-up
The bigger opportunity is not the 404 page itself. It is finding which broken addresses are actually being hit and fixing the cause. A good 404 page is damage control. Fixing the source of the broken link is the real fix.
There are three common fixes, and which one you use depends on where the broken link lives:
- The old page moved or merged: add a 301 redirect to the closest matching page
- Your own site links to the wrong address: correct the internal link
- Another site links to a typo of your address: redirect the typo, or ask the site owner to fix it
External links pointing at missing pages are worth special attention. If a local news article or a supplier's dealer page links to an address that no longer works, the value of that link is being wasted. A redirect recovers it in minutes. Our guide to understanding and earning backlinks explains why those links are worth protecting.
Not every 404 needs fixing. Random addresses from bots, or pages you deliberately removed with no sensible replacement, can return a 404 without harm. Focus on addresses that real visitors or links are hitting.
3. Why broken links happen more often than owners realize
Broken links build up quietly. A service page gets renamed during a site update. An old blog post links to a page that was later deleted. A marketing email from last year still points to a promotion that ended. A directory listing has your old page address. None of these is a dramatic mistake, but they add up.
Redesigns are the biggest source. A cleaning company that switched site builders might find its old addresses ended in .html while the new ones do not, which breaks every link from the past five years at once. Printed materials can cause trouble too. A flyer or truck wrap with a specific page address keeps sending people there long after the page changes.
A site that has been live for several years without cleanup often has more broken internal links than the owner would guess. That matters beyond the 404 page itself, because broken links waste the attention search engines give your site and make it look poorly maintained. The guide to getting technical SEO right covers how this fits into overall site health.
4. A simple monthly habit worth building
Set a recurring fifteen-minute reminder each month. It is one of the simplest local SEO best practices to keep up. Catching problems while the list is short keeps every fix quick.
- Open the Page indexing report in Search Console and look for pages listed as not found
- For each one, decide whether to redirect it, fix the internal link, or leave it
- Check your analytics for visits to the 404 page, if your setup records them
- After any site change, click through your menu and main service pages to confirm links work
- Before printing anything, use only your home page or a short address you will keep for good
If your site has dozens of pages, a free link-checking tool or browser extension can crawl it and list broken internal links in a few minutes. Fix the ones on your most visited pages first. If you work with a provider, ask them to include broken links and fixes in their monthly report, alongside the other items in a monthly local SEO scorecard.
Frequently asked questions
Do 404 errors hurt my rankings? Having some 404s is normal and does not hurt the site as a whole. The harm comes from losing the value of important pages and links that now point nowhere, and from visitors leaving.
Should I redirect all 404s to my home page? No. Search engines often treat that like a missing page anyway, and visitors end up somewhere unhelpful. Redirect only to a closely matching page, and let the rest show your helpful 404 page.
Does a 404 page count as on-page optimization? Not really. On-page optimization and SEO page optimization are about pages you want to rank, such as service pages. A 404 page should not rank at all. It belongs with the technical SEO practices that keep visitors and link value from leaking away, alongside redirects and broken-link fixes.
Can I add humor to my 404 page? A light touch is fine if it fits your brand, but keep the helpful links and phone number front and center. A stressed customer wants a way forward more than a joke.
For more, see Google's crawling and indexing documentation.
Need help putting this into practice? See how Rayven can help your business get found on Google.