Links break all the time: pages move, sites disappear, typos happen. For this redesign we checked more than 140 external links and unlinked the ones that were dead or had been taken over by unrelated sites. Here is how to do the same.
Finding broken links
| Tool | Finds |
|---|---|
| Search Console (Pages report) | URLs Google tried that return 404 |
| A site crawler | Broken internal and external links on your pages |
| Server logs | Real visitors hitting missing URLs |
| Browser extensions | Broken links on a single page |
What to do with each
- Broken internal link: fix the link.
- Moved page: 301 redirect to the new URL (see redirects and .htaccess basics).
- Removed page with a close alternative: redirect to that alternative.
- Removed for good, no alternative: return 404 or 410.
- Dead external link: replace with a current source, or remove the link but keep the text.
A helpful 404 page
- Say clearly that the page was not found.
- Offer search and links to the main sections.
- Keep the normal navigation and design.
- Make sure it returns a real 404 status code, not 200.
External links and hijacked domains
An external link can “work” but point to something completely different: expired domains are often bought and filled with spam or gambling content. Check important outbound links periodically by visiting them, not just by checking the status code.
Frequently asked questions
Do 404 errors hurt my rankings?
404s for pages that never existed or were rightly removed are normal and do not hurt your site as a whole. Broken internal links and lost valuable pages with links do cost you.
Should I redirect all 404s to the homepage?
No. Redirect only to a closely matching page. Mass redirects to the homepage are treated as soft 404s and confuse visitors.