Common Causes and How to Fix Them


A broken link—also referred to as a “dead link”—is a hyperlink that doesn’t work. When you click on a broken link, it fails to take you to the intended page.

Hyperlinks usually appear as text or images that are underlined or highlighted.

For example, a hyperlink on the Semrush blog looks like this:

But why do links break? 

Let’s explore why links become broken and how to fix them.

The Target Page Is Deleted or Moved 

One of the most common reasons a link breaks is because the target page is deleted or moved to a new URL without updating the link. 

Deleted pages lead the user to a 404 Not Found error page.

For example, let’s say eBay creates a temporary sale page ( and links it across its site. 

After the sale, they delete the page but forget to remove the links.

Customers clicking the old link to this page will now get a 404 error and land on a page that looks like this: 

ebay's custom 404 Not Found error page

The 404 error page shows users that the site could not find the requested page. Potentially leaving users frustrated and confused. 

Incorrectly Formatted URL

An incorrectly formatted URL can lead to a 400 bad request error.

A 400 bad request error is similar to a 404 but occurs when there’s a problem with the requested URL.

How does this happen?

You may have misspelled the link when adding it to a page. Or someone may have mistyped the URL on the page you’re linking to.

For example, say you want to link to a product page at But you accidentally include a “%” in the link, directing users to

The “%” symbol in the URL would give users a 400 bad request error. 

A 400 bad request error may look like this:

A 400 bad request error page

This error occurs because the server cannot understand the request due to an invalid URL format. So, it rejects the request and returns a 400 error, indicating a bad request was made.

Change in Website Structure or URLs 

Hardcoded links that contain the full URL can break if the site’s structure or URLs change.

For example, a page that moved from to could return 404 errors if any hard-coded links still point users to /products rather than the new /store URL. 

Outdated hardcoded links lead to “dead ends” rather than directing users to the active page at its new location.

This happens because the hardcoded URLs weren’t updated when the site’s architecture changed. 

Broken Images

Links pointing to images can also break when the image files are moved or deleted without updating the links in the HTML code. 

The <img> link in the HTML code still points to the outdated location, but the image file is gone.

That displays the “missing image” icon that looks similar to this:

An "missing image" icon

When this happens, the page still contains the old image link pointing to the previous file location. But the image file itself is gone, which creates the broken link.

Domain Name Change

Links to redesigned, retired, or migrated external sites can cause outbound broken links. 

External sites returning Bad Gateway 502 errors indicate their servers can’t be found. 

The resulting error page may look like this:

A 502 bad gateway error page

For example, your site may link to, but visitors get a Bad Gateway error because that domain no longer exists.

Why does this happen? 

External sites naturally change over time—their domains shift, rebrand, or retire altogether. If internal links to these sites aren’t updated to reflect changes, they continue pointing users to broken URLs.

Malfunctioning Plugins

Links in third-party plugin code can break when the external platforms they rely on change their code.

For example, the social sharing buttons on the Backlinko blog in the image below will no longer work if Facebook or X (formerly known as Twitter) updates their share button code.

The social sharing buttons on the Backlinko blog for X (formerly Twitter) and Facebook

Clicking the broken “Like” button could return a 404 error instead of allowing users to share your content.

This happens because your website is still running the old code, but Facebook’s servers now expect different code for their plugin to function. 

The Impact on SEO

Broken links can impact SEO in several ways:

  • Site quality: Google wants to recommend useful, up-to-date sites. Too many broken links can signal that your site isn’t up to date or is poorly maintained.
  • Crawl errors: Google’s site crawlers, or “bots,” crawl the web by following links between pages. When a bot hits a broken link, it creates a crawl error. Meaning your page can’t be fully crawled and indexed in search engines.
  • Wasted link authority: Internal links pass authority (known as link equity) between connected pages on your site. But when Page A links to a broken Page B, that authority gets wasted rather than passed on.

The more broken links on your site, the more significant the impact on quality, crawlability, and SEO ranking.

The Impact on UX

Broken links can severely harm the user experience (UX). Users may leave your site if they repeatedly hit dead ends by clicking broken links.

For example, imagine shopping on Amazon but repeatedly landing on 404 product page errors due to broken links, ending up on a page similar to this:

Amazon's 404 product page error

Constantly hitting dead ends could make users perceive your site as untrustworthy and poorly maintained.

Semrush Site Audit 

Semrush’s Site Audit can crawl an entire site to surface crawl errors and broken links. 

Here’s how.

First, you’ll need to create a new project or click on an existing one:

"+ create project" button highlighted in the upper right corner under Site Audit

Then, click on the “Issues” tab when the audit finishes and enter “Broken” into the search bar to find issues relating to broken links:

"broken" entered into the search under "Issues" tab in Site Audit

You may see a list of errors that look similar to this:

Results for "broken" errors under the "Issues" tab

Click “X internal links are broken” or any other error. This will show you a report of what pages contain broken links.

"13 internal links are broken" list in Site Audit

Hover over “Why and how to fix it” to learn more about the specific issue and how to fix it.

"Why and how to fix it" window for a broken internal link in Site Audit

Regular site audits with Semrush’s Site Audit tool can automatically detect broken links on your site.

Google Search Console

Google Search Console (GSC) is a free tool from Google that allows website owners to monitor their site’s presence in Google Search results.

The Page Indexing report in GSC can help you identify broken links.

How do you find this report?

Log in to GSC and go to “Indexing” > “Pages” in the left-hand menu.

"Pages" selected from GSC left-hand menu

The report shows indexed pages returning 404 or other errors. 

"Why pages aren't indexed" report in GSC

Click “Not Found (404)” to see a list of pages returning 404 errors.

Examples of pages returning 404 errors in GSC

Browser Extensions

Browser extensions like Check My Links and Broken Link Checker will automatically check links on pages as you browse and highlight broken ones.

Install the extension in Chrome. This adds a plugin icon next to the address bar.

As you browse pages on your site, the extension scans and analyzes all links in the background.

Any links that return 404 or other error codes will be highlighted on the page.

An example of a link that returns 404 error codes

Manual Checks

Another option is manually reviewing site menus and pages and checking for broken links or images. This gives you a user’s perspective of the broken links experience—but it can be pretty tedious. 

You may not need to fix all broken links immediately.

While broken links can frustrate users, a custom 404 page that communicates a page no longer exists and helps users navigate away can be OK for lower-priority pages.

Google’s Search Quality Guidelines state that pages with a custom 404 error message page are often considered “medium quality” if they communicate the issue and help users navigate elsewhere.

Google's Search Quality Guidelines section on "Medium: Error page with custom 404 message"

For example, this 404 page provides a helpful link back to the homepage.

Amazon's 404 page that provides a helpful link back to the homepage

You should address your site’s broken links. But we recommend focusing first on fixing ones that impact crucial pages and the overall user experience.


Check Google Search Console to see if the error is relevant. 

First, click on “Pages” under the “Indexing” drop-down on the left-hand side. And click on “Not Found (404)”:

“Pages” selected under the “Indexing” drop-down on the left-hand side

Then, scroll down to the URLs listed under “Examples.”

“Examples" of broken pages in Google Search Console

Assess whether the pages in Google Search Console’s 404 report are crucial to your site.

404 crawl error prevents Google from properly crawling and indexing a page that you want to be discoverable in search results. Checking this report can help you prioritize which links are the most relevant to fix.

Update the URLs

If the page still exists with a new URL, you can update internal links with a new URL. 

There are a few options here:

  • Use a search-and-replace tool to mass update all instances of the old URL to the new URL. Many content management systems (CMSs) like WordPress have built-in search and replace functions.
  • Manually edit the old link text or image for individual pages to point to the new URL. Double-check for additional occurrences on that page.
  • When linking to pages in your navigation menus, update the target URL in your menu builder/editor if the page URL has changed

Remove any internal links pointing to a page that no longer exists.

The “Issues” tab in Semrush’s Site Audit tool will tell you exactly what broken links each page has.

“Issues” tab in Site Audit tool shows what broken links each page has

So, you’d go onto each page and manually remove each broken link.

Redirect Broken Pages

Use 301 redirects to forward visitors from broken pages to relevant new pages. 301s tell search engines that content has permanently moved and pass link authority to the new URL. 

Redirecting users to a relevant new page with a 301 improves the user experience compared to allowing users to land on 404 error pages when clicking broken links. 

To create 301 redirects:

  • Use server rewrite rules if you have hosting access
  • Install a redirect plugin for CMSs like WordPress, Joomla, or Drupal
  • Use the built-in redirect manager for sites on Squarespace, Wix, etc.

Further reading: 301 Redirect: What It Is & How It Impacts SEO

Manually checking for broken links can be tedious. And easy to forget. 

For ongoing maintenance, automate broken link scans using Semrush’s Site Audit tool.


When starting a Site Audit scan, click on “Schedule” in the settings.

"Schedule" option selected from the Site Audit Settings

Then, select how often you want your site crawled to check for new issues like broken links. 

"Weekly, Every Monday" selected under "Schedule" drop-down menu in Site Audit Settings

Regular website audits catch broken links early before negatively impacting users and SEO. 

Automating this process saves time over manual checks and ensures a seamless experience for your visitors.



Read original article here

Denial of responsibility! Search Engine Codex is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More