Broken links: how to find and fix them on your website

Last updated

The short answer

A broken link sends a visitor to a page that isn't there (a 404), a server error, a website that has closed, or an image that won't load. To fix them, first find them. Google Search Console's Pages report lists missing addresses Google came across, which aren't always links on your current pages; a link scan shows the page each broken link sits on. Use both, and open a suspect outside link in your browser before you remove it: some sites refuse automated checks. Then, for each one, correct the link if it has a typo, point it at the new address if the page moved (and add a 301 redirect from the old one), or remove it if the page is gone for good.

What counts as a broken link

Why it matters

How to find them

  1. Run a scan. A site scan follows the links on your pages and tests each one, which catches the broken links your visitors actually meet. On WordPress, our free plugin runs the free FocalScore scan from your dashboard and emails the full report. It only reports: it won't fix links or add redirects. For the wider check, see how to audit a WordPress website.
  2. Open Google Search Console's Pages report. Under "Why pages aren't indexed", the rows Not found (404) and Soft 404 list addresses Google tried and found missing (Search Console Help). Some will be old pages other sites still link to; those are the ones worth a redirect.
  3. Check after every change. Most broken links appear when a page is renamed, a product is removed or a site moves to a new platform. Scan again after each of those.

How to fix each kind

What you findWhat to do
A typo in the linkCorrect the address in the link.
The page moved to a new addressChange the link to the new address, and add a permanent (301) redirect from the old address so other sites' links and bookmarks still work.
The page is gone, with a close replacementLink to the replacement, and redirect the old address to it.
The page is gone for goodRemove the link. Let the old address show your 404 page; don't redirect it to the homepage (see the 404 page guide).
A missing image or fileUpload it again, or take it off the page.
A dead link to another websiteFind the page's new address on that site, link to a different source, or remove the link.
A redirect chainChange the link to the final address, so it lands in one step.

Google says a permanent server-side redirect is the best way to tell it a page has moved (Google Search Central). A redirect fixes the old address, but still update the links on your own pages, so visitors and Google don't take the detour.

Setting up a redirect on your platform

Redirect 301 /water-heaters.html /services/water-heater-repair

For Windows (IIS) hosting, and for sites reachable at several addresses, see one address for each page.

How the scan checks it

Checklist

Questions people ask

What is a broken link?
A link that leads nowhere useful: the page it points to answers with an error such as 404 Not Found or a server error, the website it points to no longer exists, or an image or file it loads is missing.
Do broken links hurt SEO?
A few broken links won't sink a site, but they cost you. Google drops pages that return 404 from its index, slows its crawling when a site returns server errors, and a link to a missing page passes nothing on. The bigger cost is visitors who hit a dead end and leave.
How do I find broken links on my website for free?
Google Search Console's Pages report lists addresses Google found returning 404 or soft 404; some are old addresses, not links on your current pages. A free website scan, such as FocalScore's, follows the links on your pages and lists the broken ones with the page each sits on.
Should I fix a broken link or redirect it?
Fix the link on your own page when you can: point it at the right address. Add a permanent (301) redirect when the old address is still out there, in other sites' links, old emails or printed flyers, and the page has a real replacement.
What is the difference between a 404 and a 410?
Both say the page isn't there. 410 Gone says it was removed on purpose. Google treats them the same way for Search: it drops the page from its index.

What the free scan checks for this

These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.

Sources

Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.

  1. Google: How HTTP status codes affect Google's crawlers
  2. Google Search Central: Redirects and Google Search
  3. Search Console Help: Page indexing report
  4. Shopify Help Center: URL redirects
  5. Search Console Help: Page indexing report