Every website accumulates broken links over time. Pages are deleted, URLs change, external resources disappear—and before long, dozens of links lead nowhere. This frustrates users and signals low resource quality to search engines.
Let’s look at what happens when Google or Yandex encounters a broken link, how it affects rankings, and what you can do to get things in order.
What are broken links?
A broken link (dead link) is a hyperlink that leads to a page that does not exist or is unavailable. Instead of content, the user gets an error. But not all errors are the same.
HTTP 404 — Not Found
The most common case. The server clearly says: “This page does not exist.” Search engines handle this correctly and remove the page from the index after some time.
GET /old-page HTTP/1.1
Host: example.com
HTTP/1.1 404 Not FoundHTTP 410 — Gone
This means the page has been deleted permanently. Unlike 404, code 410 tells the search engine: “Don’t try to crawl this again; the content won’t return.” Google recommends using 410 for pages that definitely won’t be restored—this speeds up their removal from the index.
Soft 404
The trickiest case. The page effectively does not exist, but the server returns code 200 (OK). The user sees a “Nothing found” message, but technically the response looks successful.
Why this is bad:
- Search bots don’t understand that the page is empty
- Useless pages get indexed
- Crawl budget is wasted
- Google Search Console marks these pages as “Soft 404”
The right solution is to return a real code 404 or 410, rather than disguising an empty page with code 200.
Other reasons a link may be “broken”
A link can fail for reasons other than 404:
- Timeout — the server doesn’t respond within a reasonable time
- DNS resolution failure — the domain does not exist or is not configured
- SSL errors — expired certificate or domain mismatch
- Server errors (5xx) — internal problems on the host’s end
How broken links affect SEO
Wasted crawl budget
Every website has a limited number of pages that a search bot is willing to crawl in a single visit—its crawl budget. Every broken link the bot tries to open is a wasted request. For a site with 50 pages, this is insignificant. For an online store with 500 000 products, it’s critical.
When Googlebot repeatedly encounters 404, it spends requests on nonexistent pages, crawls live pages less often, and discovers new content more slowly.
Loss of link equity
If external links from authoritative resources pointed to a deleted page, all their “equity” is lost. Imagine getting a link from a major industry portal, only for the target page to return 404. All the SEO value of that link disappears.
The same applies to internal linking. Links to 404 create breaks in the site structure through which PageRank leaks away.
Poorer user experience
A user clicks a link and sees an error—in most cases, they leave. This increases the bounce rate and reduces pages per visit. User behavior signals worsen, which indirectly affects rankings.
Indexing problems
A large number of 404 errors in Search Console or Yandex.Webmaster is a red flag. The search engine may decide that the site is abandoned or poorly maintained.
Why broken links appear
1. Pages are deleted or moved
The most common cause. During a site redesign, CMS change, or catalog restructuring, URLs change while old links remain in navigation and articles.
2. Typos in URLs
<!-- Неправильно -->
<a href="/services/broken-links">Проверка ссылок</a>
<!-- Правильно -->
<a href="/services/broken-links">Проверка ссылок</a>3. Domain change
Migrating to a new domain without properly configuring 301 redirects is a guaranteed source of hundreds of broken links.
4. External resources are removed
You link to an article on another company’s blog, and a year later they delete the blog. You don’t control other people’s content, but you are responsible for the links on your site.
5. URL structure changes
Switching from example.com/catalog/product-123 to example.com/shop/product-123 without redirects immediately creates a mass of broken links, both internal and external.
How to find broken links
Google Search Console and Yandex.Webmaster
In Search Console, open the Pages report and filter for “Not found (404).” In Yandex.Webmaster, go to Indexing → Excluded pages and filter for “HTTP error: 404.” Note that these reports only include pages known to search engines. Internal broken links with no external links pointing to them won’t appear here.
Online tools
For a quick check without installing software, use Broken link checker on reChecker. The service scans every page on the site, checks each link, and returns a list of non-working URLs with their response codes. No registration is required.
It’s also useful to check:
- Redirect analysis — make sure redirects work correctly
- Link analyzer — assess the site’s link structure
- Meta tag checker — check that replacement pages have correct metadata
Command-line utilities
# Проверить код ответа конкретного URL
curl -o /dev/null -s -w "%{http_code}" https://example.com/some-page
# Пакетная проверка списка URL из файла
while IFS= read -r url; do
code=$(curl -o /dev/null -s -w "%{http_code}" "$url")
[ "$code" != "200" ] && echo "$code $url"
done < urls.txtPython script
import requests
from concurrent.futures import ThreadPoolExecutor
def check_url(url):
try:
r = requests.head(url, timeout=10, allow_redirects=True)
return url, r.status_code
except requests.RequestException as e:
return url, str(e)
urls = open("urls.txt").read().strip().split("\n")
with ThreadPoolExecutor(max_workers=10) as executor:
for url, status in executor.map(check_url, urls):
if status != 200:
print(f"[{status}] {url}")Desktop crawlers
- Screaming Frog SEO Spider — free for up to 500 URLs; finds all types of broken links
- Sitebulb — visualizes the site structure and highlights problem areas
How to fix broken links
Strategy 1: 301 redirect to a relevant page
The best option when the deleted page has a logical replacement.
Apache (.htaccess):
# Редирект конкретной страницы
Redirect 301 /old-page /new-page
# Редирект с регулярным выражением
RewriteEngine On
RewriteRule ^blog/old-post/?$ /blog/new-post [R=301,L]
# Массовый редирект категории
RewriteRule ^catalog/old-category/(.*)$ /catalog/new-category/$1 [R=301,L]Nginx:
server {
location = /old-page {
return 301 /new-page;
}
location ~* ^/blog/old-section/(.*)$ {
return 301 /blog/new-section/$1;
}
}Next.js (next.config.js):
module.exports = {
async redirects() {
return [
{
source: '/old-page',
destination: '/new-page',
permanent: true,
},
];
},
};After configuring redirects, check the chains with the redirect checker to make sure there are no loops or unnecessary intermediate hops.
Strategy 2: Update the link in the content
If the broken link is internal, replace it with the correct URL. For WordPress:
-- Найти записи с битой ссылкой
SELECT ID, post_title FROM wp_posts
WHERE post_content LIKE '%/old-url%' AND post_status = 'publish';
-- Массовая замена
UPDATE wp_posts
SET post_content = REPLACE(post_content, '/old-url', '/new-url')
WHERE post_content LIKE '%/old-url%';Strategy 3: Code 410 for deleted pages
If the content has been deleted and there is no replacement, return 410 instead of 404—this speeds up its removal from the index.
# Apache
RewriteEngine On
RewriteRule ^discontinued-product/?$ - [G,L]# Nginx
location = /discontinued-product {
return 410;
}Strategy 4: Remove the link
If the link pointed to an external resource that has disappeared and there is no replacement, simply remove it. A dead link is worse than no link.
Prioritizing fixes
| Priority | Criterion | Action |
|---|---|---|
| High | The page has external backlinks | A 301 redirect is required |
| High | Link is in the main navigation | Fix immediately |
| Medium | Internal link in content | Update the URL or remove it |
| Low | Link to an external resource | Remove or replace it |
For bulk checks, use Bulk link checker—upload a list of URLs and get the response codes for each.
Setting up a custom 404 page
Even after all the fixes, users will sometimes land on nonexistent pages. A well-designed 404 page reduces exits.
What it should include: a clear message, site search, links to main sections, and styling that matches the site.
What it should not include: an automatic redirect to the homepage (creates a soft 404), response code 200 instead of 404, or an empty page with no navigation.
HTML example
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Страница не найдена — Example.com</title>
<meta name="robots" content="noindex, follow">
<style>
body {
font-family: system-ui, -apple-system, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background: #f8f9fa;
color: #333;
}
.container { text-align: center; max-width: 520px; padding: 2rem; }
.error-code { font-size: 8rem; font-weight: 800; color: #dee2e6; line-height: 1; }
h1 { font-size: 1.5rem; margin: 1rem 0 0.5rem; }
p { color: #666; margin-bottom: 1.5rem; line-height: 1.6; }
.search-form { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.search-form input {
flex: 1; padding: 0.75rem 1rem;
border: 1px solid #dee2e6; border-radius: 6px; font-size: 1rem;
}
.search-form button {
padding: 0.75rem 1.5rem; background: #228be6; color: #fff;
border: none; border-radius: 6px; cursor: pointer; font-size: 1rem;
}
.links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.links a { color: #228be6; text-decoration: none; }
.links a:hover { text-decoration: underline; }
</style>
</head>
<body>
<div class="container">
<div class="error-code">404</div>
<h1>Страница не найдена</h1>
<p>Возможно, страница была удалена или адрес введён неправильно.
Попробуйте найти нужную информацию через поиск.</p>
<form class="search-form" action="/search" method="GET">
<input type="text" name="q" placeholder="Поиск по сайту..." required>
<button type="submit">Найти</button>
</form>
<div class="links">
<a href="/">Главная</a>
<a href="/catalog">Каталог</a>
<a href="/blog">Блог</a>
<a href="/contacts">Контакты</a>
</div>
</div>
</body>
</html>Adding a custom 404 page
# Apache (.htaccess)
ErrorDocument 404 /404.html# Nginx
error_page 404 /404.html;
location = /404.html {
root /var/www/html;
internal;
}Monitoring and prevention
A one-time audit is good, but broken links appear constantly. You need a systematic approach.
Regular checks
The frequency depends on the size of the site:
- Up to 100 pages — once a month
- 100–10 000 pages — every two weeks
- More than 10 000 pages — weekly
Use Broken link checker on reChecker for regular audits—it takes minutes and requires no software installation.
Automating checks through CI/CD
For static sites and SPAs, add link checking to the pipeline:
# GitHub Actions
name: Check Links
on:
push:
branches: [main]
jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: --verbose ./public
fail: trueMonitoring through logs
# Топ-20 URL с ошибкой 404 (Nginx)
awk '($9 ~ /404/)' /var/log/nginx/access.log \
| awk '{print $7}' | sort | uniq -c | sort -rn | head -20Editorial guidelines
- When deleting a page, set up a redirect immediately
- When publishing content, check all links before publication
- Use relative URLs for internal links
- Document changes to the URL structure
Broken link building: a backlink acquisition strategy
Broken links are not just a problem; they are also an opportunity. The broken link building strategy can help you earn quality backlinks by helping other sites fix their issues.
How it works
- Find broken links on authoritative sites in your niche
- Create content to replace the removed resource
- Contact the site owner and suggest your replacement
Step-by-step process
Finding target pages. Use Google operators:
"полезные ссылки" site:example.com
"рекомендуемые ресурсы" inurl:links
"ваша тема" intitle:"ресурсы" OR intitle:"полезные ссылки"Checking links on the page. Use browser extensions (Check My Links) or the broken link checker to scan the page.
Creating replacement content. The content should be relevant to the topic of the deleted page and at least as good in quality. Use web.archive.org to see what was on the deleted page, then create an improved version.
Outreach. Write to the site owner—the key is to be helpful, not pushy:
Тема: Нашёл нерабочую ссылку на вашей странице
Здравствуйте, [имя]!
Изучал вашу страницу [URL] и заметил, что ссылка на [описание]
больше не работает — возвращает 404.
У нас есть актуальная статья на эту тему: [ваш URL].
Возможно, подойдёт как замена.
С уважением,
[Ваше имя]The conversion rate for this kind of outreach is noticeably higher than for regular link building (10–20% vs. 1–5%), because you’re solving a real problem rather than simply asking for a link.
Common mistakes
Mass 301 to the homepage. Google treats this as a soft 404 and ignores the redirect. Every 301 should lead to a relevant page.
Redirect chains. A → B → C → D—each intermediate step loses some link equity. At most, use one redirect to the final page.
JavaScript redirects. They don’t pass link equity and are handled unreliably by search bots. Always use server-side redirects.
No monitoring after migration. You set up redirects and forget about them? Some may break after six months, and you’ll only find out when traffic drops.
Checklist
- Scan the site for broken links
- Check reports in Google Search Console and Yandex.Webmaster
- Set up 301 redirects for pages with backlinks
- Return 410 for pages that have been permanently deleted
- Update internal links in the content
- Remove or replace non-working external links
- Create and add a custom 404 page
- Make sure the 404 page returns code 404, not 200
- Check for redirect chains
- Set up regular monitoring
Conclusion
Broken links are one of the most underestimated SEO problems. They don’t cause an immediate drop in rankings, but they steadily undermine a site: wasting crawl budget, losing link equity, and worsening the user experience. The longer the problem goes unattended, the greater the accumulated damage.
The good news is that this problem is entirely solvable. Regular checks, prompt redirects, and a well-designed 404 page address 90% of problems. And the broken link building strategy turns other sites’ broken links into your competitive advantage.
Start with an audit: check your site using the link checker and fix critical issues first. Then set up a monitoring system—and broken links will stop being a problem.