A broken link is a link that leads to a page which no longer exists and returns a 404 error (or a 410, or a server error). For anyone visiting your site it is a dead end; for Google it is wasted crawl time and a sign that the site is not well maintained. The good news: finding them is free and does not take long if you know where to look.
1. Google Search Console: the 404s Google already saw
If your site is verified in Google Search Console, open Indexing → Pages and look for the reason Not found (404). That is where Googlebot lists the URLs it tried to crawl and could not find.
- Upside: these are errors Google actually detected.
- Limit: the report updates with a delay of days and it does not always tell you which page the broken link comes from.
2. A full crawl of your site
A crawler walks your site the way Google would: it enters through the home page, follows every internal link and records the response code of each URL. It is the most complete way, because it also finds the broken links Google has not seen yet.
Desktop tools such as Screaming Frog (free up to 500 URLs) do this well. You can also use an online scanner: CLIC404 does it from the browser and also checks the site security headers.
3. A quick page-by-page review
To check a single page (before publishing an article, for example), a browser extension like Check My Links is enough: it marks every link on the open page in green and red. Handy for spot checks, but it does not scale to a whole site.
4. The server logs
If you have access to the Apache or Nginx logs (in cPanel or Hostinger they usually live under Statistics → Access logs), search for the lines with code 404. That shows the 404s that get real visits, including the ones coming from external links you do not control.
grep " 404 " access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
That command lists the 20 URLs that returned 404 the most times.
What to do with each broken link
| Situation | What to do |
|---|---|
| The page moved to another URL | 301 redirect to the new URL and fix the internal link. |
| The content is gone but something similar exists | 301 to the most related page (not to the home page). |
| The content was removed on purpose and there is no replacement | Return 410 and remove the internal links. |
| It was a typo in a link | Fix the link; no redirect needed. |
Avoid redirecting every 404 to the home page: Google usually treats that as a soft 404 and the value of the link is not passed.
How often should you check?
Once a month is enough for most sites. Also check after any big change: redesign, theme change, domain or platform migration, or when you delete products or categories.
If you want to see the state of your site without installing anything, scan your site free with CLIC404: it reviews broken links, security headers and basic SEO in a single report.
Want to know how your site is doing right now?
Scan your site for free: broken links, security headers and basic SEO in a single report.
Scan my site free