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
- Links to your own pages that error. The page answers
404 Not Found(often a renamed or deleted page) or a5xxserver error. - Missing images and files. A picture, PDF menu, script or stylesheet the page loads isn't there any more. Visitors see a gap or a broken-image icon.
- Dead links to other websites. A supplier, a partner or an article you linked to has moved or closed, or the domain is now for sale.
- Redirect chains and loops. Not broken yet, but close: a link that bounces through several addresses before it lands, or never lands at all.
Why it matters
- Visitors give up. Someone clicking "Book a cleaning" on a dentist's site and landing on an error page doesn't usually try again; they go back to the search results.
- Google drops the page. A page that starts answering 404 or 410 is removed from Google's index, and server errors make Google slow down crawling the site; if they last, those pages are dropped too (Google).
- The site looks abandoned. Dead links to outside sites and missing images tell a visitor nobody is looking after the site, which is the opposite of what a business wants to say.
How to find them
- 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.
- 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.
- 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 find | What to do |
|---|---|
| A typo in the link | Correct the address in the link. |
| The page moved to a new address | Change 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 replacement | Link to the replacement, and redirect the old address to it. |
| The page is gone for good | Remove 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 file | Upload it again, or take it off the page. |
| A dead link to another website | Find the page's new address on that site, link to a different source, or remove the link. |
| A redirect chain | Change 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
- WordPress: WordPress has no redirect screen of its own; most sites add a redirect plugin, or ask their host. Some SEO plugins include one.
- Shopify: in your admin, open Content > Menus > View URL Redirects, then Create URL redirect with the old and new paths (Shopify Help).
- Wix: use the URL Redirect Manager in your SEO settings.
- Squarespace: add the redirect under URL Mappings in the developer tools of your site settings.
- Apache hosting: one line in
.htaccessper old address:
Redirect 301 /water-heaters.html /services/water-heater-repairFor Windows (IIS) hosting, and for sites reachable at several addresses, see one address for each page.
How the scan checks it
- Broken internal links: it follows a sample of the links between your own pages and reports any that answer with a 4xx or 5xx error, with the page the link is on.
- Broken images or assets: in the full report, it loads your homepage in a real browser and lists images, scripts and other files that answer 404 or 500.
- Outbound link health: it tests your links to other websites and flags ones that answer 404 or 410, point at a domain that no longer exists, or land on a domain-for-sale page. Social network links are left out, because those sites often answer automated visits with an error even when the page loads fine.
- Redirect chains and loops: it follows redirects and flags addresses that take several hops or never arrive.
Checklist
- No link between your own pages leads to an error.
- Every image and file your pages load is there.
- Links to other websites still lead somewhere real.
- Pages that moved redirect (301) to their new address, in one step.
- Links on your own pages point at the final address, not through a redirect.
- Pages that are gone show a helpful 404 page, not a redirect to the homepage.
- Search Console's Not found (404) list holds no page you still want found.
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.
- Broken internal links
- Broken images or assets
- Outbound link health
- Redirect chains / loops
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.
- Google: How HTTP status codes affect Google's crawlers
- Google Search Central: Redirects and Google Search
- Search Console Help: Page indexing report
- Shopify Help Center: URL redirects
- Search Console Help: Page indexing report
More guides
- How to get your business recommended by ChatGPT and other AI assistants
- Why can't ChatGPT see my website? 5 reasons and how to fix them
- robots.txt for small businesses: what to allow, what to block
- What is IndexNow, and why does it matter for your website?
- The pages every small-business website needs
- How to turn more website visitors into enquiries
- Why your site is slow, and what to fix first
- How your business shows up in Google: titles, descriptions and headings
- One address for each page: www, https, canonical tags and redirects
- A sitemap for any site, including one built by hand
- Making your site usable by everyone
- Making your site work on a phone
- Security headers for a small business website: what to set, by platform
- Stop people sending email as your business: SPF, DKIM and DMARC
- Cookies and consent: what your site sets and when you need a banner
- How your links look when people share them
- Getting your business details right for Google Maps and AI assistants
- What is GEO (generative engine optimization)? A plain-English guide
- llms.txt: what it is, and does your business need one?
- AI crawler blocked? Fixing 403, 404 and 405 errors for GPTBot, ClaudeBot and PerplexityBot
- How to see if ChatGPT visits your website
- GEO vs SEO: what's the difference for a small business?
- AI SEO for small businesses: where to start
- Answer engine optimization (AEO), explained
- SPF record: what it is and how to set one up
- DMARC record: what it is and how to set one up
- DKIM record: what it is and how to set it up
- Why do my emails go to spam? How to check SPF, DKIM and DMARC
- Content Security Policy (CSP) for a small business website
- Website caching and CDNs: what they are and do you need one?
- security.txt: what it is and how to add one to your site
- What is DNSSEC, and should you turn it on?
- CAA record: what it is and how to set one up
- Largest Contentful Paint (LCP): why your page feels slow and how to fix it
- Local business schema: structured data for a small business, with a template
- Accessibility statement: what to write, with a template
- Trust badges and testimonials that help a website win customers
- Why isn't my website showing up on Google? How to get it there
- Google Business Profile: a checklist to make it match your website
- Custom 404 page: what a good one does, and the soft 404 trap
- Meta description length: how long should it be?
- Image alt text: what to write, with examples
- Website audit checklist: a free check-up for a small business site
- Why does my website say 'Not secure'? How to fix it
- Is my website ADA compliant? An accessibility checklist for US small businesses
- Has my website been hacked? How to check, and what to do next
- Core Web Vitals explained: LCP, INP and CLS in plain English
- Interaction to Next Paint (INP): why your site feels slow to tap, and how to fix it
- Cumulative Layout Shift (CLS): why your page jumps while it loads, and how to stop it
- What should a small business privacy policy include? A checklist
- Contact form emails not arriving? Find where enquiries get lost
- Website monitoring: catch downtime, broken enquiries and expired certificates
- Moving or redesigning your website: a checklist so nothing gets lost
- How to audit a WordPress website: a checklist for owners
- Why isn't my business showing up on Google Maps?
- Does ChatGPT recommend your business? How to check, and how to fix what it gets wrong
- Why isn't my website getting customers? A three-question diagnosis
- How to get more Google reviews without breaking Google's rules
- Google Search Console for a small business: set it up and read the three reports that matter
- Who owns your domain and website? How to check, and how to get them back
- How to show up in Google AI Overviews and AI Mode: what Google's own guide asks for
- What is a good PageSpeed score? What the number means for a small business site
- How much should a small business website cost, and what to check before you pay the final invoice
- Is my website down, or is it just me? What to check, in order
- Is my SEO company actually doing anything? How to check, and how to spot a scam email
- Should I redesign my website or just fix it?
- Does your website still need an FAQ page now that Google's FAQ rich results are gone?