Nov
10

How to Find and Fix Broken Links on Your Website

11/10/2026 12:00 AM

Last updated: November 2026

You click a link, and instead of the page you wanted, you see an error message. This is a broken link, and it frustrates visitors on any website. This guide explains why links break, how to find them, and how to fix them in the right way.

What Is a Broken Link?

A broken link, also called a dead link, points to a page or file that cannot be opened. The visitor usually sees a "404 Not Found" message or another error. There are two main kinds:

  • Internal broken links are links on your site that lead to another page on your own site.
  • External broken links are links on your site that lead to someone else's website.

Why Do Links Break?

  • A page was deleted or moved, and nobody updated the links to it.
  • A web address was changed, for example after you changed the URL structure.
  • A typing mistake was made when the link was added.
  • The other website removed the page or went offline.
  • The domain of the linked site expired.
  • A file, such as a PDF or an image, was deleted.

Why Broken Links Matter

Visitors who reach an error page often leave, and too many dead ends make a website look neglected. Broken internal links also stop visitors and search engines from reaching your content.

It helps to keep this in proportion. Google has said that pages that no longer exist are a normal part of the web, and a few 404 errors do not cause a penalty by themselves. The real goal is to make sure that your important pages do not link to dead ends, and that useful pages that moved are redirected.

How to Find Broken Links

  1. Check a page with a tool. Enter a page address in our Broken Links Finder to see which of its links do not work. Run it on your most important pages, such as your home page and your main guides.
  2. Check many addresses at once. If you already have a list of URLs, paste up to 100 into our Server Status Checker to see the status code of each.
  3. Use Google Search Console. In the Pages report, look at the group named "Not found (404)". It lists addresses that Google tried to open and could not. Click an address and use the URL Inspection tool to see which pages link to it.
  4. Review your links in detail. Our Link Analyzer lists the links found on a page, and our Website Links Count Checker counts them.
  5. Look at your analytics. If many visitors reach your 404 page, find out which addresses they were trying to open.

How to Fix a Broken Link

The right fix depends on the cause:

SituationWhat to do
The address has a typing mistakeCorrect the link.
The page moved to a new addressUpdate the links and add a 301 redirect from the old address to the new one.
The page was deleted, and a similar page existsRedirect the old address to the most relevant similar page.
The page was deleted, and nothing replaces itRemove the links to it. Letting the old address return a 404 or 410 is fine.
An external site removed the pageReplace the link with a working source, or remove the link.

How to Set Up a 301 Redirect

A 301 redirect tells browsers and search engines that a page has moved permanently. On an Apache server, you can add one line to your .htaccess file:

Redirect 301 /old-page/ https://www.example.com/new-page/

Before you edit .htaccess, make a backup copy of the file. A small mistake can make your whole site show an error. Add a short comment above your rule that says why it is there, so that you or anyone else can understand it later. In WordPress, a redirect plugin does the same job without touching the file.

Keep these points in mind:

  • Redirect to the most relevant page, not automatically to the home page. Sending every missing page to the home page confuses visitors, and Google may treat it as a "soft 404".
  • Avoid chains, where one redirect leads to another redirect. Point the old address straight to the final address.
  • If your site already forces www or https, check that your new rule does not conflict with it. Our www Redirect Checker can help you test the result.

Make Your 404 Page Helpful

Every site will have some missing pages, so a good 404 page is worth the effort. It should say clearly that the page was not found, include a link to your home page and your main sections, and ideally offer a search box. Check, with the Server Status Checker, that the page really returns a 404 status code. A page that shows "Page Not Found" but sends a 200 status is a soft 404, and it confuses search engines.

How to Prevent Broken Links

  • Before you delete or move a page, list the pages that link to it, and update those links.
  • When you change your URL structure, create a redirect map of old and new addresses.
  • Link to stable, trusted sources instead of temporary pages.
  • Check your important pages once a month, and always after a redesign or a move.
  • Keep a short change log of redirects, so that you remember what you added and why.

Frequently Asked Questions

Do broken links hurt my SEO?

A few are normal and not a penalty. Many broken links on important pages hurt the visitor experience and make it harder for search engines to move through your site, so they are worth fixing.

How often should I check for broken links?

Once a month is enough for most small sites, and right after any big change.

Should I redirect every 404 page to my home page?

No. Redirect only when there is a close replacement, and send visitors to that page. Otherwise, a clear 404 page is better.

What is the difference between 404 and 410?

A 404 means the page was not found. A 410 means it was removed on purpose and is gone for good. Search engines treat them in a very similar way.

Next Steps

Start with your home page and run our Broken Links Finder. Then submit a clean sitemap so that search engines see only working pages. See our guide on how to create and submit an XML sitemap.