SEO

How to Find and Fix Broken Links on Your Website

Written by Muhammad Naeem18 min readUpdated for 2026

Every website collects broken links over time. A page gets deleted, a blog post moves to a new address, a website you linked to shuts down — and the links pointing at them quietly stop working. Visitors who click one land on an error page instead of the content they wanted, and search engines that follow one find a dead end instead of a page worth indexing.

A broken link is a link that points to a page, file, or image that no longer exists at that address. The server usually answers with a 404 error — "page not found" — which is why broken links and 404 errors are talked about together. A single broken link is a small problem. Dozens of them across a site add up to a poor experience for visitors and wasted effort for search engines.

The good news is that finding and fixing broken links is one of the simplest technical SEO jobs there is, and most of it can be done with free tools. This guide explains what broken links are, why they matter, how to find every one of them on your website, and how to fix each type properly — so the link works again or sends visitors somewhere useful instead.

Framed street art reading 'Error 404 — Artwork Not Found' on a concrete wall
Street art of a framed "Error 404" sign on a concrete wall. Stock photo from Pexels (free to use under the Pexels licence).

What Is a Broken Link?

A broken link is any link that does not take the visitor where it promises to. When someone clicks it, the browser asks the server for the page at that address, and the server replies that nothing is there. The visitor usually sees a 404 error page, and the journey stops.

Broken links come in three kinds, and each one needs a slightly different fix:

  • Broken internal links. Links from one page on your website to another page on the same website. These are the most important to fix, because they are entirely under your control and they affect how visitors and search engines move around your own site.
  • Broken external links. Links from your website to a page on someone else's website. These break when the other site deletes the page, moves it, or goes offline. You cannot fix the other site — you can only change what your page links to.
  • Broken images and files. Images, PDFs, and downloads embedded in your pages that point to a file that has been moved or deleted. Visitors see a broken-image icon or an empty space where the content should be, which looks worse than a broken text link because the gap is visible on the page itself.

Links usually break for a handful of ordinary reasons: a page was deleted during a redesign, a page address changed and no redirect was set up, a link was typed with a spelling mistake, a file was renamed in the media library, or an external website you linked to years ago no longer exists. None of these are unusual — they are the normal wear and tear of running a website — which is why checking for broken links should be a regular habit, not a one-off job.

Why Broken Links Hurt Your Website

Broken links are easy to ignore because the rest of the site still works. But they cause real problems in three areas:

  • They frustrate visitors. A visitor who clicks a link expects to arrive somewhere. Landing on an error page breaks that trust, and many visitors simply leave instead of going back and trying another link. On a service page or a checkout flow, that lost visitor can be a lost enquiry or a lost sale.
  • They waste search engines' time. Google follows the links on your pages to discover and crawl your content. Every broken link it follows is a wasted crawl: it reaches a dead end instead of a page worth indexing. On a large site, hundreds of broken links can mean Google spends its crawl effort on error pages instead of your real content.
  • They weaken your internal linking. Internal links pass value between your pages and help Google understand which pages matter most. A link to a deleted page passes that value nowhere. Fixing it — by pointing it at the right live page — restores the connection.

It is worth keeping the SEO effect in proportion. Google has said that 404 errors on their own do not harm the rankings of your other pages — a few broken links will not push your whole site down the results. The damage is indirect: a worse experience for visitors, wasted crawling, and lost value from links that lead nowhere. That is reason enough to fix them, without exaggerating the penalty.

How to Find Broken Links on Your Website

You cannot fix broken links you have not found, and clicking through every link on your site by hand is not realistic once a site grows past a few dozen pages. Use a crawler — a tool that visits every page on your site and follows every link — to get a complete list in minutes.

Free tools that find broken links:

  • Screaming Frog SEO Spider (free version). A desktop crawler that scans up to 500 URLs for free. Enter your website address, let it crawl, then open the Response Codes report and filter for 404 errors. It shows every broken link and, importantly, which page each broken link sits on.
  • Google Search Console. Free, and it shows the broken links Google itself has found while crawling your site. See the next section for the exact steps.
  • Ahrefs Broken Link Checker (free). A free web tool: enter your website address and it lists broken links it finds, including which pages link to them. Useful for a quick check without installing anything.
  • Dr. Link Check. A free online checker that crawls your site and reports broken links and broken images, with a limit on the number of links per check on the free plan.
  • WordPress plugins. If your site runs on WordPress, plugins such as Broken Link Checker scan your posts and pages in the background and list broken links in your dashboard. Be aware that some of these plugins can slow your site down, so many owners run a scan, fix what it finds, and then remove the plugin.

Whichever tool you use, the output you need is the same: the broken address, the error it returns (usually 404), and the page on your site that contains the link. That last detail matters — without it, you know a link is broken but not where to fix it.

For a quick manual check of a single page, open the page in your browser and click its links, or use a free browser extension that highlights broken links on the page you are viewing. That works for spot checks, but it is no substitute for a full crawl when you want the whole site checked.

How to Check Broken Links in Google Search Console

Google Search Console is the best place to start because it shows the broken links Google has actually found, which are the ones that matter most for search. If you have not set it up yet, read our guide to using Google Search Console first — it takes a few minutes and it is free.

  • Step 1 — Open the Pages report. In Search Console, go to Indexing, then Pages. This shows how Google sees every URL on your site.
  • Step 2 — Look for "Not found (404)". In the "Why pages aren't indexed" section, look for the "Not found (404)" reason. Click it to see the list of URLs that returned a 404 when Google tried to crawl them.
  • Step 3 — Check where the links come from. Click any URL in the list to see its details, including which pages link to it. That tells you where the broken link lives and what to fix.
  • Step 4 — Decide on each URL. For every 404 in the list, decide whether the page should exist again (restore it), should send visitors somewhere else (redirect it), or is genuinely gone and should stay a 404 (see the redirect section below).
  • Step 5 — Validate the fix. After fixing the links, go back to the same report and click "Validate Fix". Google will recrawl the URLs and confirm they now work.

Search Console only shows URLs Google tried to crawl, so combine it with a crawler such as Screaming Frog for a complete picture — a crawler finds broken links on pages Google has not visited yet, and Search Console confirms which ones Google cares about.

How to Fix a Broken Internal Link

Internal links are the easiest to fix because you control both ends. Work through your list one link at a time and pick the right fix for each one:

  • The page still exists — correct the link. The most common cause is a typo in the link or a link that points to an old address after the page moved. Open the page that contains the link, find the link, and point it at the correct live address. Check for small mistakes: a missing letter, a wrong slash, or an outdated slug.
  • The page was deleted by mistake — restore it. If the page should never have been deleted, bring it back at the same address. The link works again immediately, and any search ranking the page had is preserved.
  • The page moved — set up a redirect. If the page now lives at a new address, the old address should redirect visitors to the new one. See the redirect section below for how to do this properly.
  • The page is gone for good — remove or replace the link. If there is no equivalent page, do not leave the link pointing at an error. Either remove the link from the text or point it at the closest live page that genuinely helps the reader — for example, the parent category page. Only link to a page that matches what the reader expected to find.

After fixing a batch of links, run the crawler again to confirm the list is shorter. It is easy to mistype a corrected address, so verify rather than assume.

How to Fix a Broken External Link

You cannot repair someone else's website, so a broken external link always means changing something on your own page. The options, in order of preference:

  • Find the new address. The page may have moved rather than disappeared. Search for the page title or the organisation's name — if the content now lives at a new address on the same site, update your link to point there.
  • Link to an equivalent source. If the original page is gone, find another trustworthy page that covers the same information and link to that instead. Your readers still get what they came for, and your page stays useful.
  • Link to an archived copy. The Internet Archive's Wayback Machine keeps snapshots of old web pages. If the original information matters and no live equivalent exists, linking to an archived copy is a reasonable fallback — but use it sparingly, since archived pages can be slow and may not show images correctly.
  • Remove the link. If the link added nothing essential, remove it and let the text stand on its own. A page with no link is better than a page with a link to an error.

External links break faster than internal ones because you have no control over the other site, so check them more often — at least every few months — especially on older posts that link out heavily.

When to Use a 301 Redirect (and When Not To)

A redirect sends visitors and search engines from an old address to a new one automatically. The 301 redirect means "moved permanently" and is the right tool whenever a page has a new home.

Use a 301 redirect when:

  • A page moved to a new address and the old address still receives visits or links from other sites.
  • You changed a page's address (its slug) during an edit or a redesign.
  • Two pages were merged into one, and the old page's address should point at the combined page.
  • Your site moved from http to https, or from one domain to another, and old addresses need to land on the new ones.

Do not redirect when:

  • The content is genuinely gone. If a page was deleted on purpose and there is no equivalent, let it return a 404 — or a 410 ("gone"), which tells search engines more clearly that the removal is permanent. Redirecting a deleted page to your homepage is a common mistake: it confuses visitors who expected specific content and it does not fool Google, which treats a redirect to unrelated content much like a 404 anyway.
  • The redirect would point at unrelated content. A redirect should go to the closest matching page. Redirecting every old address to the homepage, or to a random popular page, helps nobody.
  • It would create a chain. Avoid redirecting a page to another page that itself redirects somewhere else. Chains slow visitors down and dilute the value passed along. Point every redirect at the final destination.

How you set up a redirect depends on your platform. On WordPress, a plugin such as Redirection lets you add 301 redirects from the dashboard without touching server files. On a custom-built site, redirects usually live in the server configuration or in the site's code — a small job for a web developer, and worth doing properly rather than with a plugin that may slow the site down.

How to Fix Broken Links in WordPress

WordPress sites develop broken links in a few predictable ways, and each one has a straightforward fix:

  • Re-save your permalinks. After changing permalink settings, moving hosts, or updating certain plugins, WordPress can start returning 404 errors for pages that still exist. Go to Settings, then Permalinks, and click Save Changes without changing anything. This refreshes the rewrite rules and often fixes a batch of 404s at once.
  • Check for plugin conflicts. A security or caching plugin can block access to pages and make them look broken. If many links broke at once after an update, deactivate your most recently updated plugins one at a time and test the links after each one.
  • Fix links inside posts, not just menus. Broken links hide inside old blog posts as often as in menus and footers. A broken-link plugin scans post content too — use it, fix what it finds, and remember to check the media library: images deleted from the library leave broken image links in every post that used them.
  • Use the Redirection plugin for redirects. It records every 404 on your site and lets you add a 301 redirect for it from the dashboard, which is far easier than editing server files for each broken address.

If your site was built by hand rather than on WordPress, the same principles apply — check the page that holds the link, correct the address, and add a redirect when a page has moved — but the edits happen in your site's files or templates instead of a dashboard.

How to Stop Broken Links Coming Back

Fixing broken links once is not enough. A website that is updated regularly will keep producing them, so the goal is a routine that catches them early:

  • Audit every three months. Run a full crawl with Screaming Frog or a similar tool once a quarter, and check Search Console's Pages report at the same time. Small sites can do this in under an hour; larger sites should schedule it like any other maintenance.
  • Check links before publishing. Whenever you publish a new post or edit an old one, click every link in it. It takes a minute and stops new broken links at the source.
  • Keep a redirect map when you change addresses. Before renaming a page, changing a slug, or restructuring your site, write down every old address and its new destination, and set up the redirects on the same day the change goes live. Most broken links are born in the gap between a page moving and a redirect being added.
  • Be careful with external links. Link to stable, established pages rather than temporary campaign pages or PDFs that may move. When you must link to something that could change, note it in your audit list.
  • Make your 404 page helpful. Some broken links will always slip through, and some visitors will type an address wrong. A useful 404 page — one that explains what happened, links to your homepage and search, and lists your main pages — turns a dead end into a second chance instead of a lost visitor.

Common Mistakes to Avoid

Most broken-link fixes go wrong in the same few ways. Avoid these:

  • Redirecting everything to the homepage. It feels tidy, but visitors who wanted a specific page land somewhere generic and leave. Redirect only to a genuinely matching page; let the rest stay a 404.
  • Ignoring 404s in Search Console. The "Not found (404)" list includes addresses that real people and real sites link to. A 404 that nobody links to can safely stay; one with incoming links deserves a redirect or a restored page.
  • Creating redirect chains. Page A redirects to page B, which redirects to page C. Each hop slows the visitor down and weakens the signal. Always point a redirect at the final page.
  • Fixing the link but not the source. If a broken link appears in a template, a footer, or a sidebar, it repeats on every page. Fix the template once instead of editing dozens of pages.
  • Using a broken-link plugin and forgetting it. Some WordPress broken-link plugins check links on every page load, which slows the whole site. Run the scan, fix the results, then remove the plugin or switch it to manual-only checks.
  • Treating a 404 page as the fix. A friendly custom 404 page softens the blow, but it is not a substitute for fixing the link. Visitors should rarely see it at all.

Conclusion

Broken links are a normal part of running a website, and fixing them is a straightforward job once you have the full list. Crawl your site with a free tool, check Google Search Console for the errors Google has found, and work through the list: correct the link when the page still exists, restore the page when it was deleted by mistake, redirect when the page moved, and remove or replace the link when the content is gone for good.

Then make it a habit. A quarterly crawl, a link check before publishing, and a redirect map whenever you change a page address will keep broken links rare — and your visitors and Google will always reach the page they were promised.

Frequently Asked Questions

How do I find all the broken links on my website?

Use a crawler such as Screaming Frog SEO Spider (free for up to 500 URLs) or a free online checker such as Ahrefs Broken Link Checker. They scan every page on your site and list each broken link with the page it sits on. Google Search Console also lists 404 errors Google found while crawling your site, under Indexing, then Pages.

Do broken links hurt my Google rankings?

Not directly. Google has said that 404 errors on their own do not harm the rankings of your other pages. The damage is indirect: broken links waste Google's crawl effort, weaken your internal linking, and frustrate visitors who leave instead of exploring your site. Fixing them is still worth doing.

Should I redirect a deleted page to my homepage?

No, in most cases. Visitors who wanted a specific page land on a generic homepage and usually leave, and Google treats a redirect to unrelated content much like a 404. Only redirect to a page that genuinely matches what the visitor expected. If there is no matching page, let the address return a 404 or a 410.

What is the difference between a 301 redirect and a 404 error?

A 301 redirect tells browsers and search engines that a page has moved permanently to a new address, and sends them there automatically. A 404 error means the server found nothing at the requested address. Use a 301 when the page has a new home; use a 404 (or a 410 for a permanent removal) when the content is gone.

How often should I check my website for broken links?

Run a full broken-link audit at least once every three months, and check the links in any post before you publish it. Check more often after a redesign, a move to a new host, or a big round of page deletions — those are the moments when broken links appear in batches.

Can I fix broken links without a developer?

Yes, in most cases. On WordPress, you can edit links inside posts from the editor, re-save permalinks to fix rewrite problems, and add 301 redirects with a plugin such as Redirection — all from the dashboard. On a custom-built site, editing links and adding redirects usually needs someone comfortable with the site's files or templates.

Broken Links Hurting Your Website?

Naeem WebStudio builds and maintains search-friendly websites, fixing broken links, redirects, and technical SEO issues so your visitors and Google always reach the right page. Tell us about your project and we will handle the technical side.

WhatsApp: 03207140898Send Email Inquiry

Explore More Resources & Services:

Website Maintenance ChecklistHow to Use Google Search ConsoleOn-Page SEO GuideHow to Add Schema Markup to Your WebsiteSEO Basics for Beginners10 Common Website Mistakes to Avoid
Chat with Naeem