1. Semrush
  2. Blog
  3. SEO
  4. Link Building

Broken Links: Common Causes and How to Fix Them

Author:Alex Lindley

7 min read

December 17, 2025

Contributors: Christine Skopec and Carlos Silva

A broken link is a hyperlink on your website that leads to a non-existent or inaccessible webpage, often returning a 404 error when clicked.

Broken links frustrate visitors who can't access the content they need and harm your SEO by preventing search engines from effectively crawling pages and passing link equity.

Below, we'll go over a more detailed explanation of what broken links are, how to find them on your site, and how to fix them to improve user experience and search performance.

A broken link is a hyperlink that no longer leads to its intended destination because the target page has been deleted, been moved, or become inaccessible.

When someone clicks a broken link, they often see a 404 (not found) error. In some cases, they may see other errors that indicate a broken link, including:

The 404 page a user is shown on the Ryanair website when they click on a broken link.

Broken links on your site happen most commonly when:

For example, if you delete a product page but your navigation menu still links to it, visitors clicking that menu item will land on a 404 error page.

Both internal links (links pointing to pages on your own site) and external links (links pointing to other websites) can break, but they require different approaches for fixing.

To find broken links on your website, use Semrush Site Audit tool, Google Search Console, a browser extension, or manual checks.

1. Use Site Audit

Semrush’s Site Audit tool is a fast way to find broken links because it crawls your website and reports every internal and external link it finds that returns an error.

To find broken links with Site Audit:

  1. Set up a project using either the default configurations or your own custom configurations and run a crawl
  2. After the crawl finishes, go to the “Issues” tab
  3. Enter “broken” in the search bar
  4. Click the link in "# internal links are broken" to see links pointing to broken pages on your site
  5. Click the link in “# external links are broken” to find links pointing to broken links on other websites

Site Audit Issues with "broken" entered showing the number of pages on a website with broken internal and external links.

Clicking through to either issue will take you to a screen that shows the pages containing the broken links, the broken URLs, and the returned HTTP status codes. This makes it easy to sort and prioritize which issues to fix first.

2. Check Google Search Console

Google Search Console (GSC) can also be used as a broken link checker that finds pages returning 404 errors when Googlebot tries to crawl them, which can reveal broken internal links.

To find broken links in GSC:

  1. Open Google Search Console
  2. Go to “Indexing” > “Pages”
  3. Under "Why pages aren't indexed," click "Not found (404)" (or another error that indicates a broken link)

Why pages aren't indexed on Google Search Console with "Not found (404)" highlighted.

GSC will then show you a list of how many pages it detects with that issue and a list of URLs that triggered the error.

Note

Google Search Console only reports errors Googlebot has already encountered, and the results aren’t comprehensive. It won’t detect all broken links on your site.

3. Use Browser Extensions

Browser extensions like Broken Link Checker let you scan a single page for broken or redirected links as you browse.

Broken Link Checker lists every link on the page, shows its HTTP status (including 404s and redirects), and highlights broken links. This helps you quickly locate and fix broken links.

Using a browser extension to find broken links is ideal for reviewing individual pages—not for site-wide audits.

Another way to find broken links is to manually click each link on a page to confirm whether it loads correctly, though this method is impractical for large sites.

Manual checks are most useful for confirming that fixes—like updated links or redirects—are working as intended.

There are multiple ways to fix broken links that depend on whether you know the cause and whether the link is internal or external.

In most cases, fixing broken internal links comes down to redirecting traffic to the correct page, updating links to point to the best destination, or removing links to content that no longer exists.

Set Up 301 Redirects

Use a 301 redirect when a page has been moved to a new URL or when you have another page that serves the same purpose.

A 301 redirect permanently forwards users and search engines from the old URL to the new one and preserves most of the original page’s link equity.

Using 301 redirects is especially important when other internal pages (or external websites) still link to the old URL.

You can set up redirects at the server level.

For Apache servers, add a redirect rule in your .htaccess file. Before adding redirect rules, make sure the rewrite engine is enabled.

Here’s what it looks like to redirect a single page in an .htaccess file:

RewriteEngine OnRewriteRule ^old-page-url/?$ https://yourdomain.com/new-page-url [R=301,L]

For Nginx servers, add the redirect inside the appropriate server block:

location = /old-page-url {    return 301 https://yourdomain.com/new-page-url;}

Most CMS platforms also provide redirect tools that handle this configuration for you without requiring you to edit server files.

Update URLs for Suitable Substitute Pages

Update internal links when you know the most appropriate destination page, even if a redirect exists.

Linking directly to the final URL reduces unnecessary redirects that take up more resources.

Update broken links to suitable substitute URLs when:

Use Site Audit to identify all pages still linking to outdated URLs and update those links in bulk where possible. This approach is more reliable and scalable than manually finding and replacing links.

Remove an internal link when the referenced content no longer exists and no relevant replacement page is available.

If the surrounding text is still useful, remove only the hyperlink and keep the text. If the reference itself is no longer relevant, remove the entire section to keep the content accurate and up to date.

Fixing broken external links typically means either updating the link to a suitable alternative or removing it entirely.

Update URLs (if Possible)

Update an external link when you can confidently identify a suitable replacement, such as a new URL on the same site or a similar resource on a different website.

Updating URLs for broken external links works best when:

If you’re unable to find a replacement that truly matches the original intent, it’s better to remove the link.

In practice, removing broken external links is the most common fix.

If the external content isn’t accessible and can’t be reliably replaced, keeping the link adds little value and leads to a poor user experience.

When removing an external link, keep the surrounding text if it still makes sense on its own. If the reference depends on the external source to be useful or credible, remove the entire section instead.

Preventing broken links comes down to avoiding internal linking mistakes and making sure you double-check external links.

More specifically, you can do the following to prevent broken links:

Avoiding and fixing broken links helps preserve link equity and improves navigation for your visitors.

A full site audit is the best way to identify broken links that need to be addressed. Get started with Site Audit.

Broken links are most often caused when pages are deleted without updating links, URLs change without proper redirects, or a URL contains a typo.

Broken internal links make it harder for search engines to crawl your site and can interrupt the flow of link equity between pages, weakening your site’s technical SEO health and negatively affecting search visibility.

External broken links don’t directly harm rankings, but they create a poor user experience and can reduce trust in your content.

The best way to find broken links is to run a crawl using a tool like Semrush’s Site Audit. An audit identifies all broken internal and external links, shows the pages containing them, and lists the HTTP status codes returned.

To fix broken links, first determine whether the link is internal or external.

For broken internal links, update the URL, add a 301 redirect, or remove the link if no replacement exists.

For broken external links, update the link when a reliable alternative is available or remove it.

What Is the Difference Between 404 and 410 Status Codes?

A 404 status code means a page is missing but may return in the future. A 410 status code means the page was intentionally removed and won’t return. Search engines drop 410 pages from their index more quickly.

No, broken link building isn’t the same as fixing broken links. Broken link building is a link building technique that involves finding broken external links on other websites and suggesting your content as a replacement.

Fixing broken links on your own site focuses on improving user experience, maintaining site health, and preserving link equity—not acquiring backlinks.

Find and Fix Website Issues

with the Site Audit Tool

Sign Up Now

Share

Author Photo

Alex Lindley

Alex is a managing editor with 10+ years of experience leading content and SEO teams across SaaS, tech, ecommerce, and digital publishing. He specializes in building editorial systems that balance human judgment with AI-assisted workflows, helping teams produce original, high-impact content as search and discovery evolve. His work spans SEO strategy, content quality frameworks, and adapting content operations for AI-driven search.

Author Photo

Alex Lindley

Alex is a managing editor with 10+ years of experience leading content and SEO teams. He focuses on building AI-aware editorial systems that help teams produce original, high-impact content as search evolves.

Try Semrush
Everything you need to win AI visibility and drive SEO success
Start Free Trial
Unlimited access for 7 days
Boost your digital marketing efforts
Get free trial